修改密码

This commit is contained in:
wcy 2024-09-28 20:14:33 +08:00
parent bb965c75e9
commit 60a1db9b3a
3 changed files with 2 additions and 3 deletions

View File

@ -89,5 +89,5 @@ public interface RemoteUserService
* 查询密码是否需要修改
*/
@GetMapping("/user/userPwdState")
public String userPwdState(String username, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
public String userPwdState(@RequestParam("username") String username, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);
}

View File

@ -64,7 +64,7 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
@Override
public String userPwdState(String username, String source) {
return null;
return "成功";
}
};
}

View File

@ -85,7 +85,6 @@ public class SysUserController extends BaseController {
@GetMapping("/userPwdState")
public String userPwdState(String username) {
startPage();
String state = userService.selectforceChangePwd(username);
return state;
}