backup support zip

This commit is contained in:
xiaomlove
2022-05-14 15:19:10 +08:00
parent cfc2e30d59
commit d1d672e246
30 changed files with 134 additions and 64 deletions
+1 -7
View File
@@ -128,13 +128,7 @@ class Test extends Command
// $r = $rep->getContinuousDays($attendance);
// $r = $rep->getContinuousPoints(11);
$rep = new ToolRepository();
$filename = resource_path('lang/zh_CN.json');
$setting = [
'via_sftp' => 'yes',
];
// $r = $rep->saveToSftp($setting, $filename);
$r = strval(true);
$r = trim(exec('command -v 7z.exe'));
dd($r);
}