jdsorder增加查询字段

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

View File

@@ -94,6 +94,7 @@ type GetOrderResult struct {
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"
} }