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