+GetMyOrders
This commit is contained in:
@@ -10,6 +10,15 @@ const (
|
||||
UnlimitedPageSize = math.MaxInt32
|
||||
)
|
||||
|
||||
type ShortSkuInfo struct {
|
||||
SkuID int `orm:"column(sku_id)" json:"skuID,omitempty"`
|
||||
SkuShopPrice int `json:"skuShopPrice,omitempty"`
|
||||
SkuSalePrice int `json:"skuSalePrice,omitempty"`
|
||||
SkuEarningPrice int `json:"skuEarningPrice,omitempty"`
|
||||
SkuCount2 int `json:"skuCount2,omitempty"`
|
||||
SkuName string `orm:"size(255)" json:"skuName"`
|
||||
}
|
||||
|
||||
type GoodsOrderExt struct {
|
||||
GoodsOrder
|
||||
EarningPrice int64 `json:"earningPrice"` // 预估结算给门店老板的钱
|
||||
@@ -29,12 +38,9 @@ type GoodsOrderExt struct {
|
||||
DistrictName string `json:"districtName"`
|
||||
CityName string `json:"cityName"`
|
||||
|
||||
SkuID int `orm:"column(sku_id)" json:"skuID,omitempty"`
|
||||
SkuShopPrice int `json:"skuShopPrice,omitempty"`
|
||||
SkuSalePrice int `json:"skuSalePrice,omitempty"`
|
||||
SkuEarningPrice int `json:"skuEarningPrice,omitempty"`
|
||||
SkuCount2 int `json:"skuCount2,omitempty"`
|
||||
SkuInfo string `json:"skuInfo,omitempty"`
|
||||
SkuInfo string `json:"skuInfo,omitempty"`
|
||||
ShortSkuInfo `json:"-"`
|
||||
SkuList []*ShortSkuInfo `json:"skuList,omitempty"`
|
||||
}
|
||||
|
||||
type OrderSkuExt struct {
|
||||
|
||||
Reference in New Issue
Block a user