Commit c0626aa1 authored by hujun's avatar hujun

添加商铺封面图

parent c39b9002
......@@ -32,7 +32,7 @@ class GHousesImgs extends BaseModel
if ($params['cover']) {
$insert_img['0']['house_id'] = $house_id;
$insert_img['0']['img_type'] = 1;
$insert_img['0']['img_name'] = $params['cover'];
$insert_img['0']['img_name'] = $params['cover']['0'];
$insert_img['0']['create_time'] = $params['create_time'];
$insert_img['0']['update_time'] = $params['update_time'];
$count = count($insert_img) + 1;
......
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