home
This commit is contained in:
@@ -5819,12 +5819,10 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
||||
}
|
||||
multipleData = append(multipleData, data)
|
||||
if len(multipleData) > 0 {
|
||||
for _, k := range multipleData {
|
||||
if i.StoreID == k.StoreID {
|
||||
ans = HomePageInfos{
|
||||
Info: i,
|
||||
Info2: multipleData,
|
||||
}
|
||||
if i.StoreID == multipleData[0].StoreID {
|
||||
ans = HomePageInfos{
|
||||
Info: i,
|
||||
Info2: multipleData,
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user