a
This commit is contained in:
@@ -112,6 +112,7 @@ func (a *API) GetOrder(orderID int64, isStatus bool) (getOrderResult *GetOrderRe
|
|||||||
if isStatus {
|
if isStatus {
|
||||||
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE"
|
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
result, err := a.AccessAPI("jingdong.pop.order.get", prodURL, params)
|
result, err := a.AccessAPI("jingdong.pop.order.get", prodURL, params)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
utils.Map2StructByJson(result["jingdong_pop_order_get_responce"].(map[string]interface{})["orderDetailInfo"].(map[string]interface{})["orderInfo"], &getOrderResult, false)
|
utils.Map2StructByJson(result["jingdong_pop_order_get_responce"].(map[string]interface{})["orderDetailInfo"].(map[string]interface{})["orderInfo"], &getOrderResult, false)
|
||||||
|
|||||||
Reference in New Issue
Block a user