wzq 5 years ago
parent
commit
478ba44e54
1 changed files with 1 additions and 1 deletions
  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();