Commit d2d54ff7 by 伍思炜

更新忘记密码功能时找不到账号的反馈信息

parent f2d47934
......@@ -359,7 +359,7 @@ public class LoginPwdController extends BaseController {
List<User> users = userService.selectList(userwrapper);
if (CollectionUtils.isEmpty(users)) {
// return ResponseEntity.newJSON("code", 400, "message", "密码或者账号错误!");
return ResponseEntity.newJSON("code", 200, "message", "操作成功!");
return ResponseEntity.newJSON("code", 400, "message", "账号不存在!");
}
User user = users.get(0);
//5分钟内有效
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment