Commit ce4ee167 authored by hujun's avatar hujun

C端随机配图

parent 869cf4e1
...@@ -759,7 +759,7 @@ class GHouses extends BaseModel ...@@ -759,7 +759,7 @@ class GHouses extends BaseModel
$house_data = $this->field('id,external_image_id')->where('id', $data['id'])->find(); $house_data = $this->field('id,external_image_id')->where('id', $data['id'])->find();
//C端随机图片 //C端随机图片
if (empty($data['is_show']) && !empty($save_data['industry_type']) && empty($house_data['external_image_id'])) { if (!empty($save_data['industry_type']) && empty($house_data['external_image_id'])) {
$industry_type = explode(',', $save_data['industry_type']); $industry_type = explode(',', $save_data['industry_type']);
$image = new ImageDepotService(); $image = new ImageDepotService();
......
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