调整验证码

This commit is contained in:
TinyAnts
2022-09-07 15:21:18 +08:00
parent 82f2a92dfd
commit 18eb788ac9
2 changed files with 5 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ public class SmsNotice {
// 1=业务通知, 2=验证码
if (noticeSetting.getType() == 2 && StringUtil.isNotNull(params.get("code"))) {
String code = params.get("code").toLowerCase();
RedisUtil.set(GlobalConfig.redisSmsCode+mobile, code);
RedisUtil.set(GlobalConfig.redisSmsCode+scene+":"+mobile, code);
}
}
}