|
|
@@ -242,10 +242,10 @@ public class WxMerchantBUserController extends BaseController { |
|
|
} |
|
|
} |
|
|
CUser user = cuserFactory.getBUserService(appPlat).getById(bUserId, orgUser.getTenantId()); |
|
|
CUser user = cuserFactory.getBUserService(appPlat).getById(bUserId, orgUser.getTenantId()); |
|
|
if (null == user) { |
|
|
if (null == user) { |
|
|
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"当前用户授权信息未查询到,请重新登录"); |
|
|
|
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
if (StringUtils.isBlank(user.getPhone())) { |
|
|
if (StringUtils.isBlank(user.getPhone())) { |
|
|
throw new MallinkException(ErrorCode.SYS_SERVER_ERROR.getCode(),"当前用户未授权手机号,请重新登录并授权"); |
|
|
|
|
|
|
|
|
return; |
|
|
} |
|
|
} |
|
|
SysConfig config = sysConfigService.getByKey(SysConfigConstant.merchant_Login_CheckPhone, orgUser); |
|
|
SysConfig config = sysConfigService.getByKey(SysConfigConstant.merchant_Login_CheckPhone, orgUser); |
|
|
if (null != config ) { |
|
|
if (null != config ) { |
|
|
|