Commit 557006a1 authored by hujun's avatar hujun

修改

parent 17a43083
......@@ -377,7 +377,7 @@ class Houses extends Basic
$img = new GHousesImgs();
$id = $img->getHouseImagesInfo('id', [
'id' => $this->params['house_id'],
'id' => $this->params['id'],
'house_id' => $this->params['house_id'],
'img_status' => 0
]);
......
......@@ -113,7 +113,6 @@ class GHouses extends BaseModel
foreach ($img_data as $k => $v) {
switch ($v->img_type) {
case 1 :
$data['id'] = $v->id;
$data['cover'] = $v->img_name;
break;
case 2 :
......
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