This commit is contained in:
zjf committed 2025-07-18 11:34:31 +08:00
1 parent d77922561b
commit 4f688ffd2e
1 file changed
+1
@@ -107,6 +107,7 @@ public class AppVisitorUserController {
private boolean verifySmsCode(String phone, String randomStr, String smsCode) {
String key = CacheConstants.SMS_VISITOR_CODE_KEY + phone + "_" + randomStr;
return !redisTemplate.opsForValue().get(key).equals(smsCode);
}