This commit is contained in:
richboo111
2022-08-25 14:23:17 +08:00
parent 9b4e66fd27
commit 39c9b7c8e1

View File

@@ -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)