Browse Source

下载链接优化

wufeng 2 years ago
parent
commit
de9b24a251
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -979,7 +979,7 @@ if (!function_exists('excelSaveFile')) {
         if (!file_exists($file_dir)) throw new Exception('压缩包文件不存在');
 
 //        return $file_dir;
-        return 'home/' . str_replace(root_path() . "public/", '', $file_dir);
+        return str_replace(root_path() . "public/", '', $file_dir);
     }
 }