add user ban log from cleanup.php

This commit is contained in:
xiaomlove
2021-05-13 21:31:09 +08:00
parent 174fd2f180
commit 8963058463
20 changed files with 250 additions and 42 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ class BackupWeb extends Command
*
* @var string
*/
protected $description = 'BackupWeb webRoot data';
protected $description = 'BackupWeb web data';
/**
* Create a new command instance.
@@ -39,7 +39,7 @@ class BackupWeb extends Command
public function handle()
{
$rep = new ToolRepository();
$result = $rep->backupWebRoot();
$result = $rep->backupWeb();
$log = sprintf('[%s], %s, result: %s', REQUEST_ID, __METHOD__, var_export($result, true));
$this->info($log);
do_log($log);