- 修复两个美团外美API的bug
This commit is contained in:
@@ -115,7 +115,7 @@ func (a *API) OrderRefundReject(orderID int64, reason string) (err error) {
|
||||
}
|
||||
|
||||
func (a *API) OrderApplyPartRefund(orderID int64, reason string, removeSkuList []*RefundSku) (err error) {
|
||||
_, err = a.AccessAPI("order/applyPartRefund", true, map[string]interface{}{
|
||||
_, err = a.AccessAPI("order/applyPartRefund", false, map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
"reason": reason,
|
||||
"food_data": removeSkuList,
|
||||
|
||||
@@ -137,11 +137,11 @@ func (a *API) RetailSkuSave(poiCode, foodCode string, standardSkus, unstandardSk
|
||||
return err
|
||||
}
|
||||
|
||||
func (a *API) RetailSkuSellStatus(poiCode string, foodData []map[string]interface{}, status int) (err error) {
|
||||
func (a *API) RetailSkuSellStatus(poiCode string, foodData []map[string]interface{}, sellStatus int) (err error) {
|
||||
_, err = a.AccessAPI("retail/sku/sellStatus", false, map[string]interface{}{
|
||||
KeyAppPoiCode: poiCode,
|
||||
"food_data": foodData,
|
||||
"status": status,
|
||||
"sell_status": sellStatus,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user