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"`
GiftPoint string `json:"giftPoint"`
} `json:"itemInfoList"`
StoreID string `json:"storeId"`
OrderTotalPrice string `json:"orderTotalPrice"`
OrderExt string `json:"orderExt"`
StoreOrder string `json:"storeOrder"`
OrderStartTime string `json:"orderStartTime"`
OrderID string `json:"orderId"`
OrderSource string `json:"orderSource"`
FreightPrice string `json:"freightPrice"`
Pin string `json:"pin"`
StoreID string `json:"storeId"`
OrderTotalPrice string `json:"orderTotalPrice"`
OrderExt string `json:"orderExt"`
StoreOrder string `json:"storeOrder"`
OrderStartTime string `json:"orderStartTime"`
OrderID string `json:"orderId"`
OrderSource string `json:"orderSource"`
FreightPrice string `json:"freightPrice"`
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,
orderPayment,freightPrice,orderState,orderStateRemark,
orderStartTime,orderEndTime,orderRemark,consigneeInfo,
itemInfoList,pauseBizInfo,pin`
itemInfoList,pauseBizInfo,pin,idSopShipmenttype`
if isStatus {
params["order_state"] = "WAIT_SELLER_STOCK_OUT,PAUSE"
}