|
|
@ -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();
|
|
|
|