检测数据

This commit is contained in:
richboo111
2022-08-23 17:51:46 +08:00
parent beea68cddd
commit 69e681043e
3 changed files with 50 additions and 6 deletions

View File

@@ -604,11 +604,7 @@ func (c *StoreController) GetHomePageByLocation() {
return nil, "根据经纬度获取商店失败", err
}
if params.Token != "" {
// 获取用户权限如普通用户不展示b2b相关目录门店老板或者管理则展示全部
//result, _, err := cms.FilterByB2B(locationList, params.Token)
if err != nil {
return nil, "根据用户权限过滤商店失败", err
}
//获取店铺基本信息
//storeDetail := cms.GetStores(params.Ctx, params.Keyword, params.MapData, params.Offset, params.PageSize, timeList[0], timeList[1], params.OrderCountFrom, params.OrderCountTo)
//retVal, err = cms.GetStoreVendorMaps(params.Ctx, nil, utils.Interface2String(), params.VendorID)