优化架构

This commit is contained in:
huangxiaolei committed 2022-11-23 18:05:11 +08:00
1 parent 3efed3defe
commit 43403202b5
6760 files changed
+33748 -554768

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
package db
import "go.mongodb.org/mongo-driver/bson/primitive"
type Account struct {
ID primitive.ObjectID `bson:"_id,omitempty"`
Uid uint64 `bson:"uid"`
Username string `bson:"username"`
PlayerID uint64 `bson:"playerID"`
Token string `bson:"token"`
ComboToken string `bson:"comboToken"`
Forbid bool `bson:"forbid"`
ForbidEndTime uint64 `bson:"forbidEndTime"`
}
+6
View File
@@ -0,0 +1,6 @@
package db
type PlayerIDCounter struct {
ID string `bson:"_id"`
PlayerID uint64 `bson:"PlayerID"`
}