This commit is contained in:
suyl
2021-07-29 11:14:43 +08:00
parent f0718ef83c
commit c15a96fcf5

View File

@@ -87,7 +87,7 @@ func (c *NetSpiderController) QueryPageStores() {
}
pagedInfo, err := cms.QueryPageStores2(dao.GetDB(), pageSize, offset, params.Keyword, params.VendorStoreID, params.BrandName, params.VendorID,
params.CityCode, params.DistrictCode, params.Tel, float32(params.MinShopScore), params.MinRecentOrderNum, params.MinSkuCount,
lng1, lat1, lng2, lat2, cat)
lng1, lat1, lng2, lat2, params.Cat)
if err == nil {
if params.Radius > 0 && (params.Offset != 0 || params.PageSize != model.UnlimitedPageSize) {
shopList2, _ := pagedInfo.Data.([]*dao.PageShopWithPlaceName)