From 39c9b7c8e152f73d3a2719e046a6684aca476ce2 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 25 Aug 2022 14:23:17 +0800 Subject: [PATCH] home --- business/jxstore/cms/store.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 0e2379688..fe64f7c0b 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -5771,11 +5771,6 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis if err != nil { return nil, "获取门店减免策略失败", err } - //获取店铺每周评分 - //weeklyScore, err := misc.GetWeeklyStoreScore(v.ID, -1) - //if err != nil { - // return nil, "获取店铺每周评分失败", err - //} for _, k := range storePolicy { if k.StoreID == v.ID { storeDeductionInfo = StoreDeductionInfo{ @@ -5787,6 +5782,7 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis storeDeductionInfos = append(storeDeductionInfos, storeDeductionInfo) } } + globals.SugarLogger.Debug("storeInfos============", storeInfos) globals.SugarLogger.Debug("storeDeductionInfos=================", storeDeductionInfos) //获取热销商品 topSkusInfo, err := GetTopSkusByStoreIDs(ctx, storeID)