Commit 74aa66ac authored by hujun's avatar hujun

增加图片绝对路径

parent 4c58a84d
......@@ -74,7 +74,7 @@ class JournalAccounts extends Model
$img = Db::table('houseimgs')->field('imagename')
->where('house_id', $value['house_id'])->where('imgtype',1)->find();
$data[$key]['img'] = $img['imagename'];
$data[$key]['img'] = $_SERVER['SERVER_NAME'].'/houseImg/'.$img['imagename'];
}
return $data;
......
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