|
@@ -541,10 +541,10 @@ public class UserGatewayImpl implements UserGateway {
|
|
|
|
|
|
UserInfo userInfo = null;
|
|
|
if (StringUtils.isNotBlank(params.getOpenId())) {
|
|
|
-
|
|
|
+ userInfo = userService.queryByOpenId(params.getOpenId());
|
|
|
} else if (StringUtils.isNotBlank(params.getPhone())) {
|
|
|
userInfo = userService.queryByPhone(params.getPhone());
|
|
|
- } else if (params.getUserId() == null) {
|
|
|
+ } else if (params.getUserId() != null) {
|
|
|
userInfo = userService.queryById(params.getUserId());
|
|
|
}
|
|
|
|