This commit is contained in:
yangduo 2024-07-16 15:33:36 +08:00
parent 783938a821
commit b488f0e28d
2 changed files with 4 additions and 4 deletions

View File

@ -15,13 +15,13 @@ type GoldBullion struct {
Gold int `gorm:"comment:金币" json:"gold"` Gold int `gorm:"comment:金币" json:"gold"`
Status int `gorm:"comment:状态 0:初始 1:已开" json:"status"` Status int `gorm:"comment:状态 0:初始 1:已开" json:"status"`
Open_status int `gorm:"comment:1: 已发送 2未发送 3:已领取" json:"open_status"` Open_status int `gorm:"comment:1: 已发送 2未发送 3:已领取" json:"open_status"`
Open_address string `gorm:"comment:1: open_address" json:"open_address"` Open_address string `gorm:"comment:open_address" json:"open_address"`
Open_time int `gorm:"comment:open_time" json:"open_time"` Open_time int `gorm:"comment:open_time" json:"open_time"`
Open_account_id string `gorm:"comment:open账号id(channel + '_' + gameid + '_' + openid)" json:"open_account_id"` Open_account_id string `gorm:"comment:open账号id(channel + '_' + gameid + '_' + openid)" json:"open_account_id"`
Open_uniqid string `gorm:"comment:1: 开启的本次唯一id" json:"open_uniqid"` Open_uniqid string `gorm:"comment:开启的本次唯一id" json:"open_uniqid"`
Returned int `gorm:"comment:是否已超时返还" json:"returned"` Returned int `gorm:"comment:是否已超时返还" json:"returned"`
Return_time int `gorm:"comment:返还时间" json:"return_time"` Return_time int `gorm:"comment:返还时间" json:"return_time"`
Activated int `gorm:"comment:是否已上" json:"activated"` Activated int `gorm:"comment:是否已上" json:"activated"`
Activated_time int `gorm:"comment:上链时间" json:"activated_time"` Activated_time int `gorm:"comment:上链时间" json:"activated_time"`
Createtime int `gorm:"comment:创建时间" json:"createtime"` Createtime int `gorm:"comment:创建时间" json:"createtime"`
Modifytime int `gorm:"comment:修改时间" json:"modifytime"` Modifytime int `gorm:"comment:修改时间" json:"modifytime"`

View File

@ -22,7 +22,7 @@ type MallItem struct {
Createtime int `gorm:"comment:创建时间" json:"createtime"` Createtime int `gorm:"comment:创建时间" json:"createtime"`
Modifytime int `gorm:"comment:修改时间" json:"modifytime"` Modifytime int `gorm:"comment:修改时间" json:"modifytime"`
Order1 int `gorm:"comment:品质排序" json:"order1"` Order1 int `gorm:"comment:品质排序" json:"order1"`
Unit_price int `gorm:"comment:unit_price" json:"unit_price"` Unit_price int `gorm:"comment:单价" json:"unit_price"`
} }
func (gb *MallItem) TableName() string { func (gb *MallItem) TableName() string {