解决用户的重置密码的bug

This commit is contained in:
jishenghua
2025-08-06 23:20:48 +08:00
parent db479d6874
commit 324cc16882
3 changed files with 14 additions and 10 deletions

View File

@@ -235,7 +235,7 @@ public class UserController extends BaseController {
Long id = jsonObject.getLong("id");
String password = "123456";
String md5Pwd = Tools.md5Encryp(password);
int update = userService.resetPwd(md5Pwd, id);
int update = userService.resetPwd(md5Pwd, id, request);
if(update > 0) {
return returnJson(objectMap, SUCCESS, ErpInfo.OK.code);
} else {