diff --git a/app/db/model/guide_order.go b/app/db/model/guide_order.go index 7c32e5a..fdef17f 100644 --- a/app/db/model/guide_order.go +++ b/app/db/model/guide_order.go @@ -13,12 +13,13 @@ type GuideOrder struct { UpdateTime int `json:"update_time" xorm:"default 0 INT(11)"` SettleTime int `json:"settle_time" xorm:"default 0 INT(11)"` PlatformSettleTime int `json:"platform_settle_time" xorm:"default 0 INT(11)"` - Commission string `json:"commission" xorm:"default 0.0000 DECIMAL(20,4)"` - RealCommission string `json:"real_commission" xorm:"default 0.0000 DECIMAL(20,4)"` + Commission string `json:"commission" xorm:"default 0.00 DECIMAL(20,2)"` + RealCommission string `json:"real_commission" xorm:"default 0.00 DECIMAL(20,2)"` Title string `json:"title" xorm:"VARCHAR(255)"` - Gid string `json:"gid" xorm:"VARCHAR(255)"` Payment string `json:"payment" xorm:"default 0.00 DECIMAL(20,2)"` Pvd string `json:"pvd" xorm:"VARCHAR(255)"` Img string `json:"img" xorm:"VARCHAR(255)"` IsShare int `json:"is_share" xorm:"default 0 INT(1)"` + Ext string `json:"ext" xorm:"VARCHAR(3000)"` + Gid string `json:"gid" xorm:"VARCHAR(255)"` }