wzq 5 年之前
父節點
當前提交
478ba44e54
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/Downloads.php

+ 1 - 1
app/Console/Commands/Downloads.php

@@ -53,7 +53,7 @@ class Downloads extends Command
         $fileDir = 'export/';
         $path = public_path($fileDir);
         if(!file_exists($path)){
-            mkdir($path, 775);
+            mkdir($path, 0775);
         }
 
         $download = $this->download->where('download_status', 0)->orderBy('id', 'desc')->first();