1
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"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
|
||||
func (a *API) OrderStatusAndPsInfo(params map[string]interface{}) (err error) {
|
||||
globals.SugarLogger.Debugf("===param := %s", utils.Format4Output(params, false))
|
||||
delete(params, "opcode")
|
||||
globals.SugarLogger.Debugf("===param2 := %s", utils.Format4Output(params, false))
|
||||
delete(params, "opcode") // 美团不需要此参数
|
||||
_, err = a.AccessAPI("ecommerce/order/logistics/sync", false, params)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user