This commit is contained in:
苏尹岚
2020-12-01 18:11:06 +08:00
parent 9df0b76d5d
commit b2dfa0c68e
2 changed files with 21 additions and 4 deletions

View File

@@ -1074,3 +1074,12 @@ func (a *API) StoreSkuBindStore(allStore bool, skuIds, vendorStoreIDs []string)
_, err = a.AccessStorePage2("https://ware.shop.jd.com/rest/storeProduct/skuBindStore", params, true)
return err
}
//订单接单
func (a *API) SetOrderStateToWait(orderId int64) (err error) {
params := map[string]interface{}{
"orderId": orderId,
}
_, err = a.AccessStorePage("https://porder.shop.jd.com/order/global/setOrderStateToWait", params, false)
return err
}