This commit is contained in:
苏尹岚
2021-02-20 16:24:21 +08:00
parent 59af8ea51a
commit e3ff21f49e
5 changed files with 55 additions and 26 deletions

View File

@@ -101,6 +101,7 @@ type GetOrderResult struct {
ScDT string `json:"scDT"`
SellerDiscount string `json:"sellerDiscount"`
MenDianID string `json:"menDianId"`
BalanceUsed string `json:"balanceUsed"`
}
type OrderExt struct {
@@ -119,7 +120,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,menDianId,storeId`
itemInfoList,pauseBizInfo,pin,idSopShipmenttype,scDT,sellerDiscount,menDianId,storeId,balanceUsed`
if isStatus {
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE,WAIT_GOODS_RECEIVE_CONFIRM"
}