|
|
@ -44,7 +44,7 @@ public class RegisterService { |
|
|
|
Assert.isTrue(StringUtils.hasText(bo.code), "验证码不能为空"); |
|
|
|
Assert.isTrue(StringUtils.hasText(bo.pwd), "密码不能为空"); |
|
|
|
|
|
|
|
if (smsService.verifyAndUseCaptcha(bo.mobile, "register", bo.code)) { |
|
|
|
if (!smsService.verifyAndUseCaptcha(bo.mobile, "register", bo.code)) { |
|
|
|
throw new PaganiException(PaganiExceptionCode.GENERAL_ERROR, "验证码错误"); |
|
|
|
} |
|
|
|
|
|
|
|