package gameinfo import ( "github.com/gogf/gf/frame/g" dao "gmanager/library/mongo" "go.mongodb.org/mongo-driver/bson/primitive" ) type Pay struct { Id primitive.ObjectID `bson:"_id" json:"id"` Class string `bson:"_class" json:"class"` OpenId string `bson:"openid" json:"openid"` Uid int32 `bson:"uid" json:"uid"` Region int32 `bson:"region" json:"region"` Channel string `bson:"channel" json:"channel"` Status int32 `bson:"status" json:"status"` Handlestatus int32 `bson:"handlestatus" json:"handlestatus"` PayItem string `bson:"pay_item" json:"payItem"` Billno string `bson:"billno" json:"billno"` Money int32 `bson:"money" json:"money"` CporderId string `bson:"cporderId" json:"cporderId"` Level int32 `bson:"level" json:"level"` VipLevel int32 `bson:"vipLevel" json:"vipLevel"` Creattime string `bson:"creattime" json:"creattime"` Callbaktime string `bson:"callbaktime" json:"callbaktime"` Handletime string `bson:"handletime" json:"handletime"` PayWay string `bson:"payWay" json:"payWay"` } var ( // Table is the table name of account. TablePay = "pay" PayTablbeName = g.Config().GetString("db.core") // Model is the model object of account. ModelPay = dao.NewMgo(PayTablbeName, TablePay) )