|
@@ -638,7 +638,7 @@ if (!function_exists('excelSaveFile')) {
|
|
//6. 检查文件是否存在,并输出文件
|
|
//6. 检查文件是否存在,并输出文件
|
|
if (!file_exists($file_dir)) throw new Exception('压缩包文件不存在');
|
|
if (!file_exists($file_dir)) throw new Exception('压缩包文件不存在');
|
|
|
|
|
|
- return str_replace(root_path() , env("host.host"), $file_dir);
|
|
|
|
|
|
+ return str_replace(root_path()."public/" , env("host.host"), $file_dir);
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|