- 修复美团外卖几个API没有调用MustMarshal

This commit is contained in:
gazebo
2019-04-30 14:14:53 +08:00
parent bad469db9e
commit 4309519ab1
2 changed files with 6 additions and 6 deletions

View File

@@ -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
}