- fixed bug of jd api:OrderJDZBDelivery and DeliveryEndOrder.

This commit is contained in:
gazebo
2018-07-24 09:23:50 +08:00
parent 80fbee68a5
commit dd49babf29
6 changed files with 80 additions and 8 deletions

View File

@@ -105,7 +105,7 @@ func (a API) OrderJDZBDelivery(orderId string) (interface{}, error) {
"orderId": orderId,
"operator": utils.GetAPIOperator(),
}
return a.AccessAPINoPage("/bm/open/api/order/OrderJDZBDelivery", jdParams, nil, nil)
return a.AccessAPINoPage("bm/open/api/order/OrderJDZBDelivery", jdParams, nil, nil)
}
// 订单达达配送转商家自送接口
@@ -133,7 +133,7 @@ func (a API) OrderSerllerDelivery(orderId string) (interface{}, error) {
func (a API) DeliveryEndOrder(orderId string) (interface{}, error) {
jdParams := map[string]interface{}{
"orderId": orderId,
"operator": utils.GetAPIOperator(),
"operPin": utils.GetAPIOperator(),
"operTime": utils.GetCurTimeStr(),
}
return a.AccessAPINoPage("ocs/deliveryEndOrder", jdParams, nil, nil)