This commit is contained in:
苏尹岚
2020-09-07 09:24:27 +08:00
parent e52b99a3cb
commit aa0489d434
5 changed files with 7 additions and 6 deletions

View File

@@ -98,6 +98,7 @@ type GetOrderResult struct {
FreightPrice string `json:"freightPrice"`
Pin string `json:"pin"`
IDSopShipmenttype string `json:"idSopShipmenttype"`
ScDT string `json:"scDT"`
}
//查询单个订单
@@ -108,7 +109,7 @@ func (a *API) GetOrder(orderID int64, isStatus bool) (getOrderResult *GetOrderRe
params["optional_fields"] = `orderType,payType,orderTotalPrice,orderSellerPrice,
orderPayment,freightPrice,orderState,orderStateRemark,
orderStartTime,orderEndTime,orderRemark,consigneeInfo,
itemInfoList,pauseBizInfo,pin,idSopShipmenttype`
itemInfoList,pauseBizInfo,pin,idSopShipmenttype,scDT`
if isStatus {
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE"
}