1.删除多余文件

2.部分代码微调
This commit is contained in:
2023-06-27 09:35:31 +08:00
parent 913123a397
commit 77adf7b42c
10 changed files with 115 additions and 571 deletions

View File

@@ -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、组装用户手机号认证信息