This commit is contained in:
苏尹岚
2020-12-01 15:51:47 +08:00
parent 085cc8bb3c
commit 805f0d2f5a
3 changed files with 122 additions and 1 deletions

View File

@@ -100,6 +100,7 @@ type GetOrderResult struct {
IDSopShipmenttype string `json:"idSopShipmenttype"`
ScDT string `json:"scDT"`
SellerDiscount string `json:"sellerDiscount"`
MenDianId string `json:"menDianId"`
}
//查询单个订单
@@ -110,7 +111,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,scDT,sellerDiscount`
itemInfoList,pauseBizInfo,pin,idSopShipmenttype,scDT,sellerDiscount,menDianId`
if isStatus {
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE,WAIT_GOODS_RECEIVE_CONFIRM"
}