mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-10 20:02:29 +08:00
修复多账号登录
This commit is contained in:
@@ -4,8 +4,9 @@ import "go.mongodb.org/mongo-driver/bson/primitive"
|
||||
|
||||
type Account struct {
|
||||
ID primitive.ObjectID `bson:"_id,omitempty"`
|
||||
Uid uint64 `bson:"uid"`
|
||||
AccountID uint64 `bson:"accountID"`
|
||||
Username string `bson:"username"`
|
||||
Password string `bson:"password"`
|
||||
PlayerID uint64 `bson:"playerID"`
|
||||
Token string `bson:"token"`
|
||||
ComboToken string `bson:"comboToken"`
|
||||
|
||||
6
dispatch/model/account_id_counter.go
Normal file
6
dispatch/model/account_id_counter.go
Normal file
@@ -0,0 +1,6 @@
|
||||
package model
|
||||
|
||||
type AccountIDCounter struct {
|
||||
ID string `bson:"_id"`
|
||||
AccountID uint64 `bson:"AccountID"`
|
||||
}
|
||||
Reference in New Issue
Block a user