|
|
@@ -39,12 +39,17 @@ class ExportOffline extends Command
|
|
|
{
|
|
|
//导出channel
|
|
|
$this->call('export:channel');
|
|
|
+ //导出channel
|
|
|
+ $this->call('export:tag');
|
|
|
+ $this->call('export:tag.map');
|
|
|
+ $this->call('export:pali.text');
|
|
|
//导出章节索引
|
|
|
$this->call('export:chapter.index');
|
|
|
//导出译文
|
|
|
$this->call('export:sentence');
|
|
|
//导出原文
|
|
|
$this->call('export:sentence',['channel'=>'28f2e33a-794f-11ed-9481-1395f6ece2de']);
|
|
|
+ shell_exec("XZ_OPT=-9 tar jcvf ".storage_path("app/public/export/offline.tar.xz")." ".storage_path("app/public/export/offline"));
|
|
|
return 0;
|
|
|
}
|
|
|
}
|