From 9b4e66fd2763fb96d75404ab3a0f02058696287a Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 25 Aug 2022 14:09:12 +0800 Subject: [PATCH] home --- business/jxstore/cms/store.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index ced1adeb3..0e2379688 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -5787,6 +5787,7 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis storeDeductionInfos = append(storeDeductionInfos, storeDeductionInfo) } } + globals.SugarLogger.Debug("storeDeductionInfos=================", storeDeductionInfos) //获取热销商品 topSkusInfo, err := GetTopSkusByStoreIDs(ctx, storeID) if err != nil { @@ -5809,6 +5810,7 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis } StoreSkuInfos = append(StoreSkuInfos, storeSkuInfo) } + globals.SugarLogger.Debug("StoreSkuInfos=================", StoreSkuInfos) for _, i := range storeInfos { if i.StoreID == storeDeductionInfos[0].StoreID && i.StoreID == StoreSkuInfos[0].StoreID { homePage = HomePageInfos{