From 1c517285f91efb9a51391b7f897511339d7998a8 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 25 Aug 2022 15:29:24 +0800 Subject: [PATCH] home --- business/jxstore/cms/store.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index f5c5dfcaf..8ab0b7325 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -5810,10 +5810,10 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis if i.StoreID == j.StoreID { homePage.StoreDeductionInfo = j } - for _, k := range StoreSkuInfos { - if i.StoreID == k.StoreID { - homePage.StoreSkuInfo = k - } + } + for _, k := range StoreSkuInfos { + if i.StoreID == k.StoreID { + homePage.StoreSkuInfo = k } } homePages = append(homePages, homePage)