From 46974daaaf6a1262d1b8eb5186f1bd57d8f24825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B9=B3=E5=87=A1=E6=A2=A6?= Date: Thu, 9 Jul 2020 10:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3highestPrice=E5=92=8CminimumP?= =?UTF-8?q?rice=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/cms/store_sku.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/business/jxstore/cms/store_sku.go b/business/jxstore/cms/store_sku.go index dc87cabcc..4e51a3ed6 100644 --- a/business/jxstore/cms/store_sku.go +++ b/business/jxstore/cms/store_sku.go @@ -489,14 +489,14 @@ func GetStoresSkusNew(ctx *jxcontext.Context, storeIDs, skuIDs []int, isFocus, i if highestPrice, err = strconv.ParseFloat(params["highestPrice"].(string), 64); err != nil { delete(params, "highestPrice") } else { - params["highestPrice"] = highestPrice + params["highestPrice"] = highestPrice * 100 } } if params["minimumPrice"] != nil { if minimumPrice, err = strconv.ParseFloat(params["minimumPrice"].(string), 64); err != nil { delete(params, "minimumPrice") } else { - params["minimumPrice"] = minimumPrice + params["minimumPrice"] = minimumPrice * 100 } } if !(highestPrice > 0 && highestPrice > minimumPrice) || !(highestPrice > 0) {