28 lines
494 B
Go
28 lines
494 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"
|
|
)
|
|
|
|
const (
|
|
NetbarOnlineNumberKey = "%s:online_number"
|
|
OnlineDeviceSetKey = "online:devices"
|
|
)
|