This commit is contained in:
richboo111
2022-08-25 10:36:49 +08:00
parent 1933aa0024
commit cc889b42b0

View File

@@ -5814,8 +5814,8 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
Unit: j.Unit,
}
}
multipleData = append(multipleData, data)
}
multipleData = append(multipleData, data)
if len(multipleData) > 0 {
ans = HomePageInfos{
Info: i,
@@ -5826,8 +5826,9 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
Info: i,
}
}
res = append(res, ans)
}
res = append(res, ans)
}
return res, "", nil
}