- 重要修改相关的函数新增trackInfo参数,追踪修改人.接口类型改变
This commit is contained in:
@@ -550,3 +550,14 @@ func (a *API) GetOrderIdByDaySeq(poiCode string, dateTime time.Time, seqStart, s
|
||||
}
|
||||
return vendorOrderIDs, err
|
||||
}
|
||||
|
||||
// 众包配送单追加小费
|
||||
// https://developer.waimai.meituan.com/home/docDetail/158
|
||||
func (a *API) OrderUpdateTip(orderID int64, tipAmount float64) (err error) {
|
||||
params := map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
"tip_amount": tipAmount,
|
||||
}
|
||||
_, err = a.AccessAPI("order/zhongbao/update/tip", true, params)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user