作者 邓超

上传文件

... ... @@ -431,7 +431,7 @@ class Home extends Base {
}
}
// 这个是通过了上传接口上传的文件
$attachment = app()->request('attachment');
$attachment = app()->request('attachmentapi');
if($attachment){
foreach ($attachment as $file){
$file = json_decode($file,true);
... ...