Jelajahi Sumber

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

lizhen_gitee 11 bulan lalu
induk
melakukan
6e6171ffb1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;//仅以此缩小范围
         }
 
         //性别