|
@@ -318,7 +318,7 @@ public class UserApiController extends AbstractApiController {
|
|
if (CollUtil.isNotEmpty(users)) {
|
|
if (CollUtil.isNotEmpty(users)) {
|
|
return ResultGenerator.genFailResult(ResultCode.USER_IS_EXIST);
|
|
return ResultGenerator.genFailResult(ResultCode.USER_IS_EXIST);
|
|
}
|
|
}
|
|
- if (!userService.checkCode(params.getPhone(), params.getVerifyCode())) {
|
|
|
|
|
|
+ if (!userService.checkCode(params.getAreaCode() + params.getPhone(), params.getVerifyCode())) {
|
|
return ResultGenerator.genFailResult(ResultCode.CODE_CHECK_FAIL);
|
|
return ResultGenerator.genFailResult(ResultCode.CODE_CHECK_FAIL);
|
|
}
|
|
}
|
|
String salt = RandomUtil.randomString(4);
|
|
String salt = RandomUtil.randomString(4);
|