feat: 网页非鉴权接口开发
This commit is contained in:
+18
@@ -1,5 +1,23 @@
|
||||
package com.byhah.cloud.basic.constant;
|
||||
|
||||
/**
|
||||
* redis对应key常量类
|
||||
*
|
||||
* @author ZYJ
|
||||
*/
|
||||
public interface RedisKeys {
|
||||
|
||||
// 保存咨询中的各种限流
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
String RATE_LIMIT_PHONE = "rate-limit-phone-";
|
||||
String RATE_LIMIT_PHONE_MINUTE = "rate-limit-phone-minute-";
|
||||
|
||||
/**
|
||||
* 邮箱
|
||||
*/
|
||||
String RATE_LIMIT_EMAIL = "rate-limit-email-";
|
||||
String RATE_LIMIT_EMAIL_MINUTE = "rate-limit-email-minute-";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user