fix: 全模块Critical安全修复 — 防重入+锁+精度+XSS
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
use App\{LeverTransaction};
|
||||
use App\Jobs\LeverClose;
|
||||
class UpdateLever extends Command
|
||||
{
|
||||
protected $signature = "remove_task";
|
||||
protected $description = "移除积压任务";
|
||||
public function handle()
|
||||
{
|
||||
$this->comment("开始任务");
|
||||
\Illuminate\Support\Facades\Redis::del('queues:lever:update');
|
||||
$this->comment("结束任务");
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user