Commit c2f909f1 authored by hujun's avatar hujun

app 新增商铺随机对C端显示图片

parent bc117b2d
......@@ -1367,6 +1367,12 @@ class GHouses extends BaseModel
$shop_sign[$k] = '百货超市';
}
}
//C端随机图片
if (empty($data['is_show']) && !empty($params['shop_sign'])) {
$image = new ImageDepotService();
$params['external_image_id'] = $image->getImage($shop_sign[0]);
}
}
$params['shop_sign'] = implode(',', $shop_sign);
......
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