将游戏服务器uid与sdk分离
This commit is contained in:
1 parent
6d7e4867f5
commit
ddb55671b5
31 files changed
+457
-296
No files matched your search
@@ -4,14 +4,11 @@ import "go.mongodb.org/mongo-driver/bson/primitive"
|
||||
|
||||
type Account struct {
|
||||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
AccountID uint32 `bson:"AccountID"`
|
||||
PlayerID uint32 `bson:"PlayerID"`
|
||||
Username string `bson:"Username"`
|
||||
Password string `bson:"Password"`
|
||||
Token string `bson:"Token"`
|
||||
TokenCreateTime uint64 `bson:"TokenCreateTime"` // 毫秒时间戳
|
||||
ComboToken string `bson:"ComboToken"`
|
||||
ComboTokenCreateTime uint64 `bson:"ComboTokenCreateTime"` // 毫秒时间戳
|
||||
Forbid bool `bson:"Forbid"`
|
||||
ForbidEndTime uint32 `bson:"ForbidEndTime"` // 秒时间戳
|
||||
AccountId uint32 `bson:"account_id"` // 账号id
|
||||
Username string `bson:"username"` // 用户名
|
||||
Password string `bson:"password"` // 密码
|
||||
Token string `bson:"token"` // 账号token
|
||||
TokenCreateTime uint64 `bson:"token_create_time"` // 毫秒时间戳
|
||||
ComboToken string `bson:"combo_token"` // 游戏服务器token
|
||||
ComboTokenCreateTime uint64 `bson:"combo_token_create_time"` // 毫秒时间戳
|
||||
}
|
||||
Reference in new issue
Block a user