Commit 2d599ab7 authored by hujun's avatar hujun

修改

parent 5069831d
...@@ -371,9 +371,14 @@ class Houses extends Basic ...@@ -371,9 +371,14 @@ class Houses extends Basic
return $this->response($data['status'], '参数错误', $data['data']); return $this->response($data['status'], '参数错误', $data['data']);
} }
if (empty($this->params['house_id'])) {
return $this->response($data['status'], '参数错误', $data['data']);
}
$img = new GHousesImgs(); $img = new GHousesImgs();
$id = $img->getHouseImagesInfo('id', [ $id = $img->getHouseImagesInfo('id', [
'id' => $this->params['house_id'], 'id' => $this->params['house_id'],
'house_id' => $this->params['house_id'],
'img_status' => 0 'img_status' => 0
]); ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment