|
@@ -1138,7 +1138,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IU
|
|
|
String key = Constants.LOGIN_SMS + bo.getTel();
|
|
|
String code = redisCache.getCacheObject(key);
|
|
|
if(code==null){
|
|
|
- throw new CustomException("验证码错误");
|
|
|
+ throw new CustomException("验证码不能为空");
|
|
|
}
|
|
|
if(!code.equals(bo.getCode())){
|
|
|
iUserLoginErrorService.saveErrorLog(bo.getTel());
|