|
@@ -47,7 +47,6 @@ public class SysUserController {
|
|
* @return 用户信息
|
|
* @return 用户信息
|
|
*/
|
|
*/
|
|
@GetMapping(value = "/getAll")
|
|
@GetMapping(value = "/getAll")
|
|
- @InterfaceLimit
|
|
|
|
@PreAuthorize("@ss.hasPermi('system:user:list')")
|
|
@PreAuthorize("@ss.hasPermi('system:user:list')")
|
|
public ResponseVO getAll(Integer currentPage, Integer pageSize, String username, String phonenumber,
|
|
public ResponseVO getAll(Integer currentPage, Integer pageSize, String username, String phonenumber,
|
|
String status) {
|
|
String status) {
|
|
@@ -87,7 +86,6 @@ public class SysUserController {
|
|
* @return 用户信息
|
|
* @return 用户信息
|
|
*/
|
|
*/
|
|
@GetMapping(value = "/getCurrentUser")
|
|
@GetMapping(value = "/getCurrentUser")
|
|
- @InterfaceLimit
|
|
|
|
public ResponseVO getCurrentUser() {
|
|
public ResponseVO getCurrentUser() {
|
|
try {
|
|
try {
|
|
SysUser sysUser = SecurityContextUtil.getSysUser();
|
|
SysUser sysUser = SecurityContextUtil.getSysUser();
|
|
@@ -108,7 +106,6 @@ public class SysUserController {
|
|
* 新增用户
|
|
* 新增用户
|
|
*/
|
|
*/
|
|
@PostMapping
|
|
@PostMapping
|
|
- @InterfaceLimit
|
|
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.INSERT,auditType = AuditType.SYS)
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.INSERT,auditType = AuditType.SYS)
|
|
@PreAuthorize("@ss.hasPermi('system:user:add')")
|
|
@PreAuthorize("@ss.hasPermi('system:user:add')")
|
|
public ResponseVO add(@RequestBody SysUser user) {
|
|
public ResponseVO add(@RequestBody SysUser user) {
|
|
@@ -235,7 +232,6 @@ public class SysUserController {
|
|
* 初始密码发送邮箱
|
|
* 初始密码发送邮箱
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/resetPassword")
|
|
@PostMapping(value = "/resetPassword")
|
|
- @InterfaceLimit
|
|
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.OTHER,auditType = AuditType.SYS)
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.OTHER,auditType = AuditType.SYS)
|
|
@PreAuthorize("@ss.hasPermi('system:user:send')")
|
|
@PreAuthorize("@ss.hasPermi('system:user:send')")
|
|
public ResponseVO resetPassword(String id) {
|
|
public ResponseVO resetPassword(String id) {
|
|
@@ -266,7 +262,6 @@ public class SysUserController {
|
|
* 删除用户信息
|
|
* 删除用户信息
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/delUser")
|
|
@PostMapping(value = "/delUser")
|
|
- @InterfaceLimit
|
|
|
|
@AgainVerify
|
|
@AgainVerify
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.DELETE,auditType = AuditType.SYS)
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.DELETE,auditType = AuditType.SYS)
|
|
@PreAuthorize("@ss.hasPermi('system:user:remove')")
|
|
@PreAuthorize("@ss.hasPermi('system:user:remove')")
|
|
@@ -298,7 +293,6 @@ public class SysUserController {
|
|
* 修改密码
|
|
* 修改密码
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/updatePassword")
|
|
@PostMapping(value = "/updatePassword")
|
|
- @InterfaceLimit
|
|
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.UPDATE,auditType = AuditType.SYS)
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.UPDATE,auditType = AuditType.SYS)
|
|
public ResponseVO updatePassword(String id, String oldPassword, String newPassword, String confirmPassword) {
|
|
public ResponseVO updatePassword(String id, String oldPassword, String newPassword, String confirmPassword) {
|
|
if (StringUtils.isEmpty(id)) {
|
|
if (StringUtils.isEmpty(id)) {
|
|
@@ -353,7 +347,6 @@ public class SysUserController {
|
|
* 解锁用户信息
|
|
* 解锁用户信息
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/relockUser")
|
|
@PostMapping(value = "/relockUser")
|
|
- @InterfaceLimit
|
|
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.OTHER,auditType = AuditType.SYS)
|
|
@OperateLog(title = "用户管理", businessType = BusinessType.OTHER,auditType = AuditType.SYS)
|
|
@PreAuthorize("@ss.hasPermi('system:user:relock')")
|
|
@PreAuthorize("@ss.hasPermi('system:user:relock')")
|
|
public ResponseVO relockUser(String id) {
|
|
public ResponseVO relockUser(String id) {
|