gomod引用
This commit is contained in:
@@ -1,12 +1,5 @@
|
||||
package consts
|
||||
|
||||
// Redis键前缀
|
||||
const (
|
||||
AdRequestLimitKeyPrefix = "ad_request_limit:" // 广告请求限流键前缀
|
||||
RateLimitKeyPrefix = "rate_limit:" // 通用限流键前缀
|
||||
SessionCacheKeyPrefix = "session_cache:" // 会话缓存键前缀
|
||||
)
|
||||
|
||||
// 广告源状态
|
||||
const (
|
||||
AdSourceStatusActive = "active" // 活跃
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
package consts
|
||||
|
||||
// 广告系统Redis键定义
|
||||
const (
|
||||
AdRequestLimitKeyPrefix = "ad_request_limit:" // 广告请求限流键前缀
|
||||
RateLimitKeyPrefix = "rate_limit:" // 通用限流键前缀
|
||||
SessionCacheKeyPrefix = "session_cache:" // 会话缓存键前缀
|
||||
)
|
||||
|
||||
// 广告缓存键
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user