Commit f3eb584f authored by 王亮's avatar 王亮

fix an issue.(jiguang)

parent ca277904
......@@ -86,15 +86,7 @@ public class SMSDirectJiLoginStrategy implements LoginStrategy {
if (user != null && !user.getEnable()) {
log.info("用户不存在,或者已经注销,phoneNo:{}", smsLoginParam.getPhone());
throw new BizException(BizExceptionEnum.ERROR_OR_ENABLE_ERROR);
} else {
// Service层会负责发送注册消息到LoanVest
user = userRegisterService.register(sessionStruct.getRegisteredFrom(), smsLoginParam.getPhone(), sessionStruct.getTenantId());
if (user == null) {
throw new UserNotExistException("用户未找到");
}
}
if (scIsOpen) {
try {
if (!StringUtils.isEmpty(sessionStruct.getScDeviceId())) {
......
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