diff --git a/business/model/order.go b/business/model/order.go index dd70d091c..7a3866342 100644 --- a/business/model/order.go +++ b/business/model/order.go @@ -8,7 +8,7 @@ type ModelTimeInfo struct { } type GoodsOrder struct { - ID int64 `orm:"column(id)" json:"-"` + ID int64 `orm:"column(id)" json:"id"` VendorOrderID string `orm:"column(vendor_order_id);size(48)" json:"vendorOrderID"` VendorOrderID2 string `orm:"column(vendor_order_id2);size(48);index" json:"vendorOrderID2"` VendorID int `orm:"column(vendor_id)" json:"vendorID"`