1
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
|||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"git.rosy.net.cn/baseapi/utils"
|
"git.rosy.net.cn/baseapi/utils"
|
||||||
"git.rosy.net.cn/jx-callback/globals"
|
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -697,9 +696,7 @@ func (a *API) OrderUpdateTip(orderID int64, tipAmount float64) (err error) {
|
|||||||
// 美团外卖自配送商家同步发货状态和配送信息(推荐)
|
// 美团外卖自配送商家同步发货状态和配送信息(推荐)
|
||||||
// https://waimaiopen.meituan.com/api/v1/ecommerce/order/logistics/sync
|
// https://waimaiopen.meituan.com/api/v1/ecommerce/order/logistics/sync
|
||||||
func (a *API) OrderStatusAndPsInfo(params map[string]interface{}) (err error) {
|
func (a *API) OrderStatusAndPsInfo(params map[string]interface{}) (err error) {
|
||||||
globals.SugarLogger.Debugf("===param := %s", utils.Format4Output(params, false))
|
delete(params, "opcode") // 美团不需要此参数
|
||||||
delete(params, "opcode")
|
|
||||||
globals.SugarLogger.Debugf("===param2 := %s", utils.Format4Output(params, false))
|
|
||||||
_, err = a.AccessAPI("ecommerce/order/logistics/sync", false, params)
|
_, err = a.AccessAPI("ecommerce/order/logistics/sync", false, params)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user