Quellcode durchsuchen

Merge branch 'han' of uskycloud/usky-cloud into system-165

hanzhengyi vor 1 Jahr
Ursprung
Commit
25a727028a

+ 2 - 1
base-modules/service-system/service-system-biz/src/main/java/com/usky/system/controller/web/SysUserController.java

@@ -141,7 +141,8 @@ public class SysUserController extends BaseController
     @DeleteMapping("/{userId}/{password}")
     public ApiResult<Void> remove(@PathVariable Long userId,@PathVariable String password)
     {
-        return toAjax(userService.deleteUserByPwd(userId,password));
+        String password1 = SecurityUtils.encryptPassword(password);
+        return toAjax(userService.deleteUserByPwd(userId,password1));
     }
 
     /**