From 0ae346dc3b0cf8c8c6e03535ed0192c9400f92e1 Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 5 Jul 2019 13:39:17 +0800 Subject: [PATCH] - mtwm.FoodDiscount is float64 --- platformapi/mtwmapi/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformapi/mtwmapi/order.go b/platformapi/mtwmapi/order.go index 087aa52e..a9c5ffad 100644 --- a/platformapi/mtwmapi/order.go +++ b/platformapi/mtwmapi/order.go @@ -135,7 +135,7 @@ type FoodInfo struct { BoxNum float64 `json:"box_num"` BoxPrice float64 `json:"box_price"` CartID int `json:"cart_id"` - FoodDiscount int `json:"food_discount"` + FoodDiscount float64 `json:"food_discount"` FoodName string `json:"food_name"` FoodProperty string `json:"food_property"` Price float64 `json:"price"`