Commit 1f4989cc authored by fangxinjiang's avatar fangxinjiang

工资查询优化-fxj

parent 1e1afe2a
...@@ -253,7 +253,7 @@ public class TSalaryAccountPhoneController { ...@@ -253,7 +253,7 @@ public class TSalaryAccountPhoneController {
private boolean checkOpenId(String openId){ private boolean checkOpenId(String openId){
R<Boolean> r = HttpDaprUtil.invokeMethodPost(daprUpmsProperties.getAppUrl(), daprUpmsProperties.getAppId() R<Boolean> r = HttpDaprUtil.invokeMethodPost(daprUpmsProperties.getAppUrl(), daprUpmsProperties.getAppId()
, "/user/inner/checkWxUserByOpenId", openId, Boolean.class, SecurityConstants.FROM_IN); , "/user/inner/checkWxUserByOpenId", openId, Boolean.class, SecurityConstants.FROM_IN);
if (Common.isNotNull(r)){ if (Common.isNotNull(r) && Common.isNotNull(r.getData())){
return r.getData().booleanValue(); return r.getData().booleanValue();
} }
return false; return false;
......
...@@ -491,6 +491,7 @@ public class UserController { ...@@ -491,6 +491,7 @@ public class UserController {
.eq(SysUser::getDelFlag, CommonConstants.ZERO_STRING) .eq(SysUser::getDelFlag, CommonConstants.ZERO_STRING)
.isNotNull(SysUser::getWxOpenid).last(CommonConstants.LAST_ONE_SQL)); .isNotNull(SysUser::getWxOpenid).last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(userInfo)){ if (Common.isNotNull(userInfo)){
userInfo.setPassword(null);
return userInfo; return userInfo;
} }
return null; return null;
......
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