diff --git a/src/main/java/com/xkrs/controller/SysUserController.java b/src/main/java/com/xkrs/controller/SysUserController.java index ab18beb..b890ddc 100644 --- a/src/main/java/com/xkrs/controller/SysUserController.java +++ b/src/main/java/com/xkrs/controller/SysUserController.java @@ -88,8 +88,13 @@ public class SysUserController { return sysUserService.addUser(userQo); } + /** + * 删除系统用户 + * + * @param userName 用户名 + * @return + */ @RequestMapping(value = "/general/deletesysuser", method = RequestMethod.DELETE) - @PreAuthorize("hasAnyAuthority('auth_system_manager','auth_general_user')") public String deleteSysUser(@RequestParam(value = "userName") String userName) { return sysUserService.deleteSysUser(userName); }