wugg 2 éve
szülő
commit
4bdf46dbea
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -638,7 +638,7 @@ if (!function_exists('excelSaveFile')) {
         //6. 检查文件是否存在,并输出文件
         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);
 
     }
 }