package gameinfo import ( "github.com/gogf/gf/frame/g" dao "gmanager/library/mongo" ) type RechargeTotal struct { Id string `bson:"_id" json:"_id"` TotalMoney int32 `bson:"totalMoney" json:"money"` } var ( // Table is the table name of account. TableRechargeTotal = "pay" RechargeTotalTablbeName = g.Config().GetString("db.core") // Model is the model object of account. ModelRechargeTotal = dao.NewMgo(RechargeTotalTablbeName, TableRechargeTotal) )