Commit 7ece97e0 authored by hujun's avatar hujun

编辑商铺,图片修改

parent 39f4b30d
......@@ -65,13 +65,13 @@ class GHouses extends BaseModel
foreach ($img_data as $k=>$v) {
switch ($v->img_type) {
case 1 :
$data['cover'] = $v;break;
$data['cover'] = $v->img_name;break;
case 2 :
$data['slide_show'][$k] = $v;break;
$data['slide_show'][$k] = $v->img_name;break;
case 3 :
$data['plan'][$k] = $v;break;
$data['plan'][$k] = $v->img_name;break;
default :
$data['exclusive_img'][$k] = $v;
$data['exclusive_img'][$k] = $v->img_name;
}
}
/*图片 start*/
......
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