Lee-WineList/common/constant/rds_key.go

9 lines
279 B
Go
Raw Normal View History

2023-04-24 17:19:41 +08:00
package constant
const (
2023-04-27 15:56:12 +08:00
OAuth2RedisKey = "oauth:token:" // Token缓存前缀
OAuth2UserCacheKey = "oauth:user:" // 用户缓存前缀
ApiAntiShakeKey = "api:antishake:" // 防抖锁
WeChatSessionKey = "wechat:session:" // 小程序用户SessionKey前缀
2023-04-24 17:19:41 +08:00
)