Commit f1bc1f94 authored by 技术部-任文超's avatar 技术部-任文超

调整短信验证码失效文案为“验证码失效,请重新获取”

parent 2a9c023a
...@@ -624,7 +624,7 @@ public class UserController implements IBaseController { ...@@ -624,7 +624,7 @@ public class UserController implements IBaseController {
if(needRetSendCode(phoneNo)){ if(needRetSendCode(phoneNo)){
String key = Constants.REDIS_PREFIX_VERIFICATION_CODE + phoneNo; String key = Constants.REDIS_PREFIX_VERIFICATION_CODE + phoneNo;
stringRedisTemplate.delete(key); stringRedisTemplate.delete(key);
throw new VerificationCodeErrorException("错误次数过多,请重新获取短信验证码"); throw new VerificationCodeErrorException("验证码失效,请重新获取");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment