home
This commit is contained in:
@@ -5791,8 +5791,6 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
||||
return nil, "获取热销商品失败", err
|
||||
}
|
||||
for _, j := range topSkusInfo {
|
||||
//for _, i := range storeID {
|
||||
//if i == j.StoreID {
|
||||
storeSkuInfo = StoreSkuInfo{
|
||||
StoreID: j.StoreID,
|
||||
SkuID: j.SkuID,
|
||||
@@ -5803,8 +5801,6 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
||||
Price: j.Price,
|
||||
Unit: j.Unit,
|
||||
}
|
||||
//}
|
||||
//}
|
||||
StoreSkuInfos = append(StoreSkuInfos, storeSkuInfo)
|
||||
}
|
||||
globals.SugarLogger.Debug("StoreSkuInfos=================", StoreSkuInfos)
|
||||
@@ -5820,8 +5816,9 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
||||
}
|
||||
}
|
||||
}
|
||||
homePages = append(homePages, homePage)
|
||||
}
|
||||
homePages = append(homePages, homePage)
|
||||
globals.SugarLogger.Debug("homePages====================", homePages)
|
||||
}
|
||||
return homePages, "", nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user