From 0be4d99201a0b03ba501a8b20ac27b3c537ad1b0 Mon Sep 17 00:00:00 2001 From: gazebo Date: Mon, 13 May 2019 16:55:19 +0800 Subject: [PATCH] - OrderInfo.ShippingFee should be float --- 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 1d8e3c1e..e2becdcd 100644 --- a/platformapi/mtwmapi/order.go +++ b/platformapi/mtwmapi/order.go @@ -146,7 +146,7 @@ type OrderInfo struct { Remark string `json:"remark"` Result string `json:"result"` ShipperPhone string `json:"shipper_phone"` - ShippingFee int `json:"shipping_fee"` + ShippingFee float64 `json:"shipping_fee"` ShippingType int `json:"shipping_type"` SourceID int `json:"source_id"` Status int `json:"status"`