@ -222,7 +222,6 @@ public class UnitController {
@ApiOperation(value = "修改单位密码")
@Log(title = "用户管理", businessType = BusinessType.UPDATE)
@GetMapping("/edit/{id}")
@PreAuthorize("@ss.hasAnyRoles('admin')")
@Transactional(rollbackFor = Exception.class)
public AjaxResult editPassword(@PathVariable Long id) {
String password = PasswordGenerator.password();