1.删除多余文件
2.部分代码微调
This commit is contained in:
@@ -48,7 +48,7 @@ public class SmsTokenGranter extends AbstractTokenGranter {
|
||||
if (StrUtil.isBlank(phone)) {
|
||||
throw new BusinessException(UserResponseEnum.REGISTER_PHONE_WRONG);
|
||||
}
|
||||
if (judgeSmsCode(phone, smsCode)) {
|
||||
if (!judgeSmsCode(phone, smsCode)) {
|
||||
throw new BusinessException(UserResponseEnum.LOGIN_WRONG_CODE);
|
||||
}
|
||||
//2、组装用户手机号认证信息
|
||||
|
||||
Reference in New Issue
Block a user