12 lines
496 B
Go
12 lines
496 B
Go
package constant
|
|
|
|
const (
|
|
RdsCaptchaPrefix = "captcha:img:" // 验证码缓存前缀
|
|
RdsSmsCaptchaPrefix = "captcha:sms:" // 短信验证码缓存前缀
|
|
OAuth2RedisKey = "oauth:token:" // Token缓存前缀
|
|
OAuth2UserCacheKey = "oauth:user:" // 用户缓存前缀
|
|
ApiAntiShakeKey = "api:antishake:" // 防抖锁
|
|
ReportGenTaskKey = "report:gen:task" // 任务生成计划待办队列
|
|
WeChatSessionKey = "wechat:session:" // 小程序用户SessionKey前缀
|
|
)
|