完成游戏人生账号绑定、解绑、绑定信息的接口开发

This commit is contained in:
2025-06-09 16:27:18 +08:00
parent 5ead851b99
commit fee4d55725
27 changed files with 764 additions and 25 deletions

View File

@ -0,0 +1,10 @@
package consts
const (
GamelifeExtplatType = "bindcode"
GamelifeExtplatExtraMobile = "mobile"
GamelifeExtplatExtraPc = "pc"
GamelifeExtplatBoundTypeQQ = "qq"
GamelifeExtplatBoundTypeWX = "wx"
GamelifeMiniProgramBand = "1"
)

View File

@ -5,3 +5,8 @@ const (
UserBindPhoneKey = "user:bindPhone:%d"
UserCodeExpire = 5 * 60
)
const (
GameLifeUserKey = "gamelife:user:%s"
GameLifeUserExpire = 2 * 60 * 60
)