作者 何书鹏
1 个管道 的构建 通过 耗费 0 秒

接口修改

@@ -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%"];