修改企业微信
This commit is contained in:
@@ -469,6 +469,34 @@ func (a *API) OrderJDZBDelivery(orderId string, userName string) (detail string,
|
||||
return "", err
|
||||
}
|
||||
|
||||
// 订单拣货完成且商家自送
|
||||
// https://openapi.jddj.com/djapi/bm/open/api/order/OrderSerllerDelivery
|
||||
func (a *API) OrderJDZBStoreDelivery(orderId string, userName string) (detail string, err error) {
|
||||
jdParams := map[string]interface{}{
|
||||
"orderId": orderId,
|
||||
"operator": utils.GetAPIOperator(userName),
|
||||
}
|
||||
result, err := a.AccessAPINoPage("bm/open/api/order/OrderSerllerDelivery", jdParams, nil, nil, orderOperationResultParser)
|
||||
if err == nil {
|
||||
return utils.Interface2String(result), nil
|
||||
}
|
||||
return "", err
|
||||
}
|
||||
|
||||
// 订单拣货完成且顾客自提
|
||||
// https://openapi.jddj.com/djapi/bm/open/api/order/OrderSelfMention
|
||||
func (a *API) OrderJDZBSelfDelivery(orderId string, userName string) (detail string, err error) {
|
||||
jdParams := map[string]interface{}{
|
||||
"orderId": orderId,
|
||||
"operator": utils.GetAPIOperator(userName),
|
||||
}
|
||||
result, err := a.AccessAPINoPage("bm/open/api/order/OrderSelfMention", jdParams, nil, nil, orderOperationResultParser)
|
||||
if err == nil {
|
||||
return utils.Interface2String(result), nil
|
||||
}
|
||||
return "", err
|
||||
}
|
||||
|
||||
// 订单达达配送转商家自送接口
|
||||
// https://opendj.jd.com/staticnew/widgets/resources.html?groupid=169&apiid=e7b4950164754eecac7ea87278c2b071
|
||||
func (a *API) ModifySellerDelivery(orderId string, userName string) (detail string, err error) {
|
||||
|
||||
Reference in New Issue
Block a user