home
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user