修复验证码问题
This commit is contained in:
parent
dcaf258e9a
commit
ab24effd0f
|
|
@ -907,13 +907,17 @@ public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements
|
|||
if (StringUtils.isEmpty(msg)) {
|
||||
return Result.error("验证码不能为空!");
|
||||
}
|
||||
Msg msg1 = null;
|
||||
if (!"prod".equals(profiles) && !"61626364".equals(msg)) {
|
||||
msg1 = msgDao.findByPhoneAndCode(phone, msg);
|
||||
if (msg1 == null) {
|
||||
return Result.error("验证码不正确!");
|
||||
}
|
||||
Msg msg1 = msgDao.findByPhoneAndCode(phone, msg);
|
||||
if (msg1 == null) {
|
||||
return Result.error("验证码不正确!");
|
||||
}
|
||||
// Msg msg1 = null;
|
||||
// if (!"prod".equals(profiles) || !"61626364".equals(msg)) {
|
||||
// msg1 = msgDao.findByPhoneAndCode(phone, msg);
|
||||
// if (msg1 == null) {
|
||||
// return Result.error("验证码不正确!");
|
||||
// }
|
||||
// }
|
||||
|
||||
userInfo = new UserEntity();
|
||||
UserEntity userEntity = null;
|
||||
|
|
|
|||
Loading…
Reference in New Issue