修改bug

parent 1f6f5505
...@@ -223,7 +223,7 @@ public class UserController implements IBaseController { ...@@ -223,7 +223,7 @@ public class UserController implements IBaseController {
return JsonResult.buildErrorStateResult("短信验证码错误", null); return JsonResult.buildErrorStateResult("短信验证码错误", null);
} }
User user=userService.register(phoneNo, password, registerFrom, getIp(), channelId,btRegisterChannelId); User user=userService.register(phoneNo, password, registerFrom, getIp(), channelId,btRegisterChannelId);
if (null!=user) { if (null==user) {
LOGGER.info("用户快速注册失败,请稍后重试, registerFrom:{}, phoneNo:{}", registerFrom, phoneNo); LOGGER.info("用户快速注册失败,请稍后重试, registerFrom:{}, phoneNo:{}", registerFrom, phoneNo);
return JsonResult.buildErrorStateResult("注册失败,请稍后重试", null); return JsonResult.buildErrorStateResult("注册失败,请稍后重试", null);
} }
...@@ -273,7 +273,7 @@ public class UserController implements IBaseController { ...@@ -273,7 +273,7 @@ public class UserController implements IBaseController {
return JsonResult.buildErrorStateResult("短信验证码错误", null); return JsonResult.buildErrorStateResult("短信验证码错误", null);
} }
User user=userService.register(phoneNo, password, registerFrom, getIp(), channelId,btRegisterChannelId); User user=userService.register(phoneNo, password, registerFrom, getIp(), channelId,btRegisterChannelId);
if (null!=user) { if (null==user) {
LOGGER.info("用户快速注册失败,请稍后重试, registerFrom:{}, phoneNo:{}", registerFrom, phoneNo); LOGGER.info("用户快速注册失败,请稍后重试, registerFrom:{}, phoneNo:{}", registerFrom, phoneNo);
return JsonResult.buildErrorStateResult("注册失败,请稍后重试", null); return JsonResult.buildErrorStateResult("注册失败,请稍后重试", 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