- 修复美团外卖几个API没有调用MustMarshal
This commit is contained in:
@@ -118,7 +118,7 @@ func (a *API) OrderApplyPartRefund(orderID int64, reason string, removeSkuList [
|
||||
_, err = a.AccessAPI("order/applyPartRefund", false, map[string]interface{}{
|
||||
KeyOrderID: orderID,
|
||||
"reason": reason,
|
||||
"food_data": removeSkuList,
|
||||
"food_data": string(utils.MustMarshal(removeSkuList)),
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user