Files
arenax-server/internal/consts/redis.go
2025-06-24 16:41:58 +08:00

23 lines
397 B
Go

package consts
// 用户
const (
UserBindPhoneKey = "user:bindPhone:%s"
UserBindPhoneLimitKey = "user:bindPhoneLimit:%s"
UserCodeExpire = 5 * 60
)
const (
GameLifeUserKey = "gamelife:user:%s"
GameLifeUserExpire = 2 * 60 * 60
)
const (
WeChatLoginCache = "wx:login:cache:%s"
WeChatLoginLimit = "wx:login:limit:%s"
)
const (
WechatAccessTokenKey = "wechat:access_token"
)