修改密码
This commit is contained in:
parent
bb965c75e9
commit
60a1db9b3a
|
|
@ -89,5 +89,5 @@ public interface RemoteUserService
|
||||||
* 查询密码是否需要修改
|
* 查询密码是否需要修改
|
||||||
*/
|
*/
|
||||||
@GetMapping("/user/userPwdState")
|
@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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@ public class RemoteUserFallbackFactory implements FallbackFactory<RemoteUserServ
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String userPwdState(String username, String source) {
|
public String userPwdState(String username, String source) {
|
||||||
return null;
|
return "成功";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,6 @@ public class SysUserController extends BaseController {
|
||||||
|
|
||||||
@GetMapping("/userPwdState")
|
@GetMapping("/userPwdState")
|
||||||
public String userPwdState(String username) {
|
public String userPwdState(String username) {
|
||||||
startPage();
|
|
||||||
String state = userService.selectforceChangePwd(username);
|
String state = userService.selectforceChangePwd(username);
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue