pj访客
This commit is contained in:
1 parent
d77922561b
commit
4f688ffd2e
1 file changed
+1
+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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user