Commit 7e900ada authored by m1991's avatar m1991

登录模块——用户发送短信时-替换验证码功能修复

parent 49359937
......@@ -59,6 +59,7 @@ public class SmsController {
String key= StringUtil.formatKeyWithPrefix(Constants.RedisKey.PROJECT_PRIFIX,Constants.RedisKey.SMS_PRIFIX,phone,codeType+"");
if(null!=redisUtils.get(key)){
redisUtils.delete(key);
}
......
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