饿百骑手小费
This commit is contained in:
@@ -712,3 +712,17 @@ func (a *API) GetShopListByPage(status, proxy_business_state, pageCount, pageNum
|
||||
}
|
||||
return shopList, totalCount, err
|
||||
}
|
||||
|
||||
//饿百骑手增加小费,单位为元,最低0.1元
|
||||
// https://be.ele.me/crm/modifytip
|
||||
func (a *API) OrderAddTips(order_id, eleme_order_id string, tip, zhongbao_ask_price float64) (err error) {
|
||||
url := "crm/modifytip"
|
||||
params := map[string]interface{}{
|
||||
"order_id": order_id,
|
||||
"eleme_order_id": eleme_order_id,
|
||||
"tip": tip,
|
||||
"zhongbao_ask_price": zhongbao_ask_price,
|
||||
}
|
||||
_, err = a.AccessStorePage(url, params, false)
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user