visuddhinanda 2 years ago
parent
commit
7f6563934c
1 changed files with 10 additions and 0 deletions
  1. 10 0
      app/Console/Commands/ExportOffline.php

+ 10 - 0
app/Console/Commands/ExportOffline.php

@@ -122,7 +122,17 @@ class ExportOffline extends Command
         shell_exec($command);
 
         $info = array();
+        $url = array();
+        $url[] = [
+                'link'=>'https://www.wikipali.cc/downloads/'.$zipFile,
+                'hostname'=>'阿里云·中国',
+            ];
+        $url[] = [
+            'link'=>'https://assets.wikipali.org/downloads/'.$zipFile,
+            'hostname'=>'Amazon cloud hongkong',
+        ];
         $info[] = ['filename'=>$zipFile,
+                    'url' => $url,
                    'create_at'=>date("Y-m-d H:i:s"),
                    'chapter'=>RedisClusters::get("/export/chapter/count"),
                    'filesize'=>filesize($zipFullFileName),