正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论