浏览代码

首页附近修改,去掉同省限制

lizhen_gitee 11 月之前
父节点
当前提交
6e6171ffb1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/api/controller/Index.php

+ 1 - 1
application/api/controller/Index.php

@@ -38,7 +38,7 @@ class Index extends Api
         if(!empty($cityname) && $cityname != $this->auth->cityname){
         if(!empty($cityname) && $cityname != $this->auth->cityname){
             $where['user.cityname'] = $cityname;
             $where['user.cityname'] = $cityname;
         }else{
         }else{
-            $where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
+            //$where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
         }
         }
 
 
         //性别
         //性别