Browse Source

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

lizhen_gitee 11 tháng trước cách đây
mục cha
commit
6e6171ffb1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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){
             $where['user.cityname'] = $cityname;
         }else{
-            $where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
+            //$where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
         }
 
         //性别