|
@@ -127,6 +127,15 @@ public class AppLoginServiceImpl implements AppLoginService {
|
|
|
|
|
|
@Override
|
|
|
public AjaxResult verifyApp(LoginBody loginBody){
|
|
|
- return remoteAuthService.verifyApp(loginBody);
|
|
|
+ AjaxResult ajaxResult = remoteAuthService.verifyApp(loginBody);
|
|
|
+ if(ajaxResult.get("code").equals(200)){
|
|
|
+ Map<String, Object> data = (Map<String, Object>) ajaxResult.get("data");
|
|
|
+ data.put("updatePwd",remoteSystemBaseService.forceUpdatePwd(loginBody.getUsername()).get("data"));
|
|
|
+ return AjaxResult.success(data);
|
|
|
+ }else{
|
|
|
+ return ajaxResult;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|