增添jd的订单拆分接口

This commit is contained in:
lyb
2018-08-09 16:52:40 +08:00
parent 9824d8b9fd
commit 5da53c9afc
2 changed files with 13 additions and 0 deletions

View File

@@ -138,3 +138,15 @@ func (a API) DeliveryEndOrder(orderId string) (interface{}, error) {
}
return a.AccessAPINoPage("ocs/deliveryEndOrder", jdParams, nil, nil)
}
//订单金额拆分接口
func (a API) QueryOassBussMoney(orderId string) ([]interface{}, error) {
jdParams := map[string]interface{}{
"orderId": orderId,
}
result, err := a.AccessAPINoPage("oassBussService/queryOassBussMoney", jdParams, nil, nil)
if err != nil {
return nil, err
}
return result.([]interface{}), nil
}