正在显示
1 个修改的文件
包含
0 行增加
和
1 行删除
@@ -252,7 +252,6 @@ class House extends Api | @@ -252,7 +252,6 @@ class House extends Api | ||
252 | $user_id = $this->auth->id; | 252 | $user_id = $this->auth->id; |
253 | $area = $this->request->param('area'); | 253 | $area = $this->request->param('area'); |
254 | $keyword = $this->request->param('keyword'); | 254 | $keyword = $this->request->param('keyword'); |
255 | - $sql = Db::name('house'); | ||
256 | $where = []; | 255 | $where = []; |
257 | if(!empty($area)){ | 256 | if(!empty($area)){ |
258 | $where['area'] = ['like',"%$area%"]; | 257 | $where['area'] = ['like',"%$area%"]; |
-
请 注册 或 登录 后发表评论