+mtwm.PreparationMealComplete
This commit is contained in:
@@ -356,6 +356,16 @@ func (a *API) OrderConfirm(orderID int64) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
// 商家确认已完成拣货
|
||||
// https://developer.waimai.meituan.com/home/docDetail/216
|
||||
func (a *API) PreparationMealComplete(orderID int64) (err error) {
|
||||
params := map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
}
|
||||
_, err = a.AccessAPI("order/preparationMealComplete", true, params)
|
||||
return err
|
||||
}
|
||||
|
||||
func (a *API) OrderCancel(orderID int64, cancelReason string, cancelReasonCode int) (err error) {
|
||||
_, err = a.AccessAPI("order/cancel", true, map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
|
||||
Reference in New Issue
Block a user