home
This commit is contained in:
@@ -5732,8 +5732,8 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
|||||||
storeDeductionInfos []StoreDeductionInfo
|
storeDeductionInfos []StoreDeductionInfo
|
||||||
storeSkuInfo StoreSkuInfo
|
storeSkuInfo StoreSkuInfo
|
||||||
StoreSkuInfos []StoreSkuInfo
|
StoreSkuInfos []StoreSkuInfo
|
||||||
homePage HomePageInfos
|
//homePage HomePageInfos
|
||||||
homePages []HomePageInfos
|
homePages []HomePageInfos
|
||||||
)
|
)
|
||||||
locationList, err := common.GetStoreListByLocation(ctx, lng, lat, 20000, needWalkDistance, false, 0)
|
locationList, err := common.GetStoreListByLocation(ctx, lng, lat, 20000, needWalkDistance, false, 0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@@ -5805,7 +5805,7 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
|||||||
}
|
}
|
||||||
globals.SugarLogger.Debug("StoreSkuInfos=================", StoreSkuInfos)
|
globals.SugarLogger.Debug("StoreSkuInfos=================", StoreSkuInfos)
|
||||||
for _, i := range storeInfos {
|
for _, i := range storeInfos {
|
||||||
//homePage = make(HomePageInfos, 0)
|
homePage := HomePageInfos{}
|
||||||
i := i
|
i := i
|
||||||
homePage.StoreInfo = i
|
homePage.StoreInfo = i
|
||||||
for _, j := range storeDeductionInfos {
|
for _, j := range storeDeductionInfos {
|
||||||
|
|||||||
Reference in New Issue
Block a user