1
This commit is contained in:
@@ -6002,7 +6002,7 @@ func FilterByB2B(locationList []*common.Store4User) (retVal []*common.Store4User
|
||||
}
|
||||
|
||||
//首页信息展示
|
||||
func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDistance bool) (interface{}, string, error) {
|
||||
func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDistance bool, brandId int) (interface{}, string, error) {
|
||||
//获取门店信息
|
||||
var (
|
||||
storeID []int
|
||||
@@ -6014,7 +6014,7 @@ func GetHomePageByLocation(ctx *jxcontext.Context, lng, lat float64, needWalkDis
|
||||
StoreSkuInfos []StoreSkuInfo
|
||||
homePages []HomePageInfos
|
||||
)
|
||||
locationList, err := common.GetStoreListByLocation(ctx, lng, lat, 20000, needWalkDistance, false, 0)
|
||||
locationList, err := common.GetStoreListByLocation(ctx, lng, lat, 50000, needWalkDistance, false, brandId)
|
||||
if err != nil {
|
||||
return nil, "经纬度获取推荐门店失败", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user