瀏覽代碼

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

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){
             $where['user.cityname'] = $cityname;
         }else{
-            $where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
+            //$where['user.provincename'] = $this->auth->provincename;//仅以此缩小范围
         }
 
         //性别