Commit 9ffdc3eb authored by zhuwei's avatar zhuwei

1

parent e02d9ed6
......@@ -135,9 +135,11 @@ class Sublet extends Basic
public function addSubletImg($img_info,$father_id){
if(!$img_info)
return false;
$sublet_img = explode(',',$img_info);
if(!$sublet_img)
return false;
$m_sublet_img = new SubletImgModel();
foreach (explode(',',$img_info) as $k=>$v){
foreach ($sublet_img as $k=>$v){
$insert=[];
$insert["file_name"] = $v;
$insert["father_id"] = $father_id;
......
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