update: server/getServerLog to stat/getTrafficLog

This commit is contained in:
tokumeikoi
2022-03-05 00:27:43 +08:00
parent d0cab99ae4
commit 98b12205f7
10 changed files with 32 additions and 146 deletions

View File

@ -1,44 +0,0 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use App\Models\ServerLog;
class ResetServerLog extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'reset:serverLog';
/**
* The console command description.
*
* @var string
*/
protected $description = '节点服务器日志重置';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
ServerLog::truncate();
}
}