diff --git a/controllers/cms_store.go b/controllers/cms_store.go index 53fc12785..48da9c864 100644 --- a/controllers/cms_store.go +++ b/controllers/cms_store.go @@ -598,15 +598,15 @@ func (c *StoreController) SyncStoresCourierInfo() { func (c *StoreController) GetStoreListByLocation() { c.callGetStoreListByLocation(func(params *tStoreGetStoreListByLocationParams) (retVal interface{}, errCode string, err error) { locationList, err := common.GetStoreListByLocation(params.Ctx, params.Lng, params.Lat, 20000, params.NeedWalkDistance, false, params.BrandID) - if params.Token != "" { - result, _, err := cms.FilterByB2B(locationList) - if err != nil { - return nil, "", err - } else { - return result, "", err - } + //if params.Token != "" { + result, _, err := cms.FilterByB2B(locationList) + if err != nil { + return nil, "", err + } else { + return result, "", err } - return locationList, "", err + //} + //return locationList, "", err }) }