From 4732ba5b46fe057bd2cc7e6f065b3e9e20c99c6d Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 13 Sep 2019 16:50:08 +0800 Subject: [PATCH] =?UTF-8?q?-=20ebaiapi,=20TakeoutPrice,=20TakeoutInvoice?= =?UTF-8?q?=E5=92=8CTakeoutCost=E6=94=B9=E4=B8=BA=E4=BB=8Eint=E6=94=B9?= =?UTF-8?q?=E4=B8=BAfloat64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platformapi/ebaiapi/store_page.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platformapi/ebaiapi/store_page.go b/platformapi/ebaiapi/store_page.go index bd29b938..c8349d90 100644 --- a/platformapi/ebaiapi/store_page.go +++ b/platformapi/ebaiapi/store_page.go @@ -197,7 +197,7 @@ type PageListInnerShopInfo struct { ShopLabels string `json:"shop_labels"` ShopName string `json:"shop_name"` TakeoutCost float64 `json:"takeout_cost"` - TakeoutPrice int `json:"takeout_price"` + TakeoutPrice float64 `json:"takeout_price"` Type interface{} `json:"type"` WelfareInfo []struct { IconColor struct { @@ -296,11 +296,11 @@ type PageShopInfo struct { ShopScore float64 `json:"shop_score"` ShopSourceFrom int `json:"shop_source_from"` SkuCount int `json:"sku_count"` - TakeoutCost int `json:"takeout_cost"` - TakeoutInvoice int `json:"takeout_invoice"` + TakeoutCost float64 `json:"takeout_cost"` + TakeoutInvoice float64 `json:"takeout_invoice"` TakeoutInvoiceMinPrice string `json:"takeout_invoice_min_price"` TakeoutOpenTime string `json:"takeout_open_time"` - TakeoutPrice int `json:"takeout_price"` + TakeoutPrice float64 `json:"takeout_price"` } func (a *API) AccessStorePage2(subURL string, params map[string]interface{}, isPost bool, cookies map[string]string) (retVal map[string]interface{}, err error) {