|
@@ -286,8 +286,12 @@ public class SuperAppController {
|
|
|
//returnMap.put("headimgUrl", wxUser.getHeadimgUrl());
|
|
|
dto.setUserName(userName);
|
|
|
|
|
|
-
|
|
|
- AppUser appUer = appUserManager.getAppUserByWxUserAndOrg(wxUser.getId(), Integer.decode(orgId));
|
|
|
+ AppUser appUer = null;
|
|
|
+ if(StringUtils.isNotEmpty(userId)){
|
|
|
+ appUer = appUserManager.get(Integer.parseInt(userId));
|
|
|
+ }else{
|
|
|
+ appUer = appUserManager.getAppUserByWxUserAndOrg(wxUser.getId(), Integer.decode(orgId));
|
|
|
+ }
|
|
|
if (null != appUer && StringUtils.isNotEmpty(appUer.getUserMobile())) {
|
|
|
dto.setMobile(appUer.getUserMobile());
|
|
|
} else {
|