万能验证码 61626364

This commit is contained in:
2024-12-31 17:08:45 +08:00
parent fd0c4f5c5e
commit 5419dd4102
2 changed files with 1 additions and 6 deletions

View File

@@ -908,16 +908,13 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
return Result.error("验证码不能为空!");
}
Msg msg1 = null;
if (!"prod".equals(profiles) && !"147258".equals(msg)) {
if (!"prod".equals(profiles) && !"61626364".equals(msg)) {
msg1 = msgDao.findByPhoneAndCode(phone, msg);
if (msg1 == null) {
return Result.error("验证码不正确!");
}
}
if (msg1 == null) {
return Result.error("验证码不正确!");
}
userInfo = new UserEntity();
UserEntity userEntity = null;
if (StringUtils.isNotEmpty(inviterCode)) {