完成游戏人生账号绑定、解绑、绑定信息的接口开发
This commit is contained in:
10
internal/consts/gamelife.go
Normal file
10
internal/consts/gamelife.go
Normal file
@ -0,0 +1,10 @@
|
||||
package consts
|
||||
|
||||
const (
|
||||
GamelifeExtplatType = "bindcode"
|
||||
GamelifeExtplatExtraMobile = "mobile"
|
||||
GamelifeExtplatExtraPc = "pc"
|
||||
GamelifeExtplatBoundTypeQQ = "qq"
|
||||
GamelifeExtplatBoundTypeWX = "wx"
|
||||
GamelifeMiniProgramBand = "1"
|
||||
)
|
||||
@ -5,3 +5,8 @@ const (
|
||||
UserBindPhoneKey = "user:bindPhone:%d"
|
||||
UserCodeExpire = 5 * 60
|
||||
)
|
||||
|
||||
const (
|
||||
GameLifeUserKey = "gamelife:user:%s"
|
||||
GameLifeUserExpire = 2 * 60 * 60
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user