作者 刘朕
1 个管道 的构建 通过 耗费 1 秒

合并分支 'Branch_liuzhen' 到 'master'

我的社区列表调试



查看合并请求 !206
@@ -208,7 +208,9 @@ class User extends Api @@ -208,7 +208,9 @@ class User extends Api
208 $user = $this->auth->getUser(); 208 $user = $this->auth->getUser();
209 $area = $this->request->param('area'); 209 $area = $this->request->param('area');
210 $keyword = $this->request->param('keyword'); 210 $keyword = $this->request->param('keyword');
211 - $where = []; 211 + $where = [
  212 + 'status' => ['in',[1,2]]
  213 + ];
212 if(!empty($area)){ 214 if(!empty($area)){
213 $where['h.area'] = ['like',"%$area%"]; 215 $where['h.area'] = ['like',"%$area%"];
214 } 216 }