main
杜函宇 1 month ago
parent 8589519c82
commit 4b7e8759bd

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

Loading…
Cancel
Save