16 lines
473 B
Go
16 lines
473 B
Go
package jdshopapi
|
|
|
|
//查询单个订单
|
|
//https://open.jd.com/home/home#/doc/api?apiCateId=55&apiId=2389&apiName=jingdong.pop.order.enGet
|
|
func (a *API) EnGet(orderID int64) (err error) {
|
|
// dataMap := map[string]interface{}{
|
|
// "order_id": orderID,
|
|
// "optional_fields": "orderType,payType",
|
|
// }
|
|
// data, _ := json.Marshal(dataMap)
|
|
_, err = a.AccessAPI("jingdong.pop.order.shipment", prodURL, map[string]interface{}{
|
|
"orderId": orderID,
|
|
})
|
|
return err
|
|
}
|