jdsorder增加查询字段

This commit is contained in:
苏尹岚
2020-07-31 10:12:01 +08:00
parent b8df7dbdac
commit 9dbb4751c2

View File

@@ -85,15 +85,16 @@ type GetOrderResult struct {
WareID string `json:"wareId"` WareID string `json:"wareId"`
GiftPoint string `json:"giftPoint"` GiftPoint string `json:"giftPoint"`
} `json:"itemInfoList"` } `json:"itemInfoList"`
StoreID string `json:"storeId"` StoreID string `json:"storeId"`
OrderTotalPrice string `json:"orderTotalPrice"` OrderTotalPrice string `json:"orderTotalPrice"`
OrderExt string `json:"orderExt"` OrderExt string `json:"orderExt"`
StoreOrder string `json:"storeOrder"` StoreOrder string `json:"storeOrder"`
OrderStartTime string `json:"orderStartTime"` OrderStartTime string `json:"orderStartTime"`
OrderID string `json:"orderId"` OrderID string `json:"orderId"`
OrderSource string `json:"orderSource"` OrderSource string `json:"orderSource"`
FreightPrice string `json:"freightPrice"` FreightPrice string `json:"freightPrice"`
Pin string `json:"pin"` Pin string `json:"pin"`
IDSopShipmenttype string `json:"idSopShipmenttype"`
} }
//查询单个订单 //查询单个订单
@@ -104,7 +105,7 @@ func (a *API) GetOrder(orderID int64, isStatus bool) (getOrderResult *GetOrderRe
params["optional_fields"] = `orderType,payType,orderTotalPrice,orderSellerPrice, params["optional_fields"] = `orderType,payType,orderTotalPrice,orderSellerPrice,
orderPayment,freightPrice,orderState,orderStateRemark, orderPayment,freightPrice,orderState,orderStateRemark,
orderStartTime,orderEndTime,orderRemark,consigneeInfo, orderStartTime,orderEndTime,orderRemark,consigneeInfo,
itemInfoList,pauseBizInfo,pin` itemInfoList,pauseBizInfo,pin,idSopShipmenttype`
if isStatus { if isStatus {
params["order_state"] = "WAIT_SELLER_STOCK_OUT,PAUSE" params["order_state"] = "WAIT_SELLER_STOCK_OUT,PAUSE"
} }