- add more fields in GetOrders result

This commit is contained in:
gazebo
2018-10-29 22:13:35 +08:00
parent c5831f2bde
commit d5fa05da70
2 changed files with 13 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
package model
import "time"
const (
DefPageSize = 50
UnlimitedPageSize = 999999999
@@ -11,6 +13,11 @@ type GoodsOrderExt struct {
CourierName string `orm:"size(32)" json:"courierName"`
CourierMobile string `orm:"size(32)" json:"courierMobile"`
CurrentConsigneeMobile string `orm:"-" json:"currentConsigneeMobile"`
ActualFee int64 `json:"actualFee"` // 实际要支付给快递公司的费用
DesiredFee int64 `json:"desiredFee"` // 运单总费用
WaybillCreatedAt time.Time `orm:"type(datetime);index" json:"waybillCreatedAt"`
WaybillFinishedAt time.Time `orm:"type(datetime)" json:"waybillFinishedAt"`
}
type OrderSkuExt struct {