fix: 全模块Critical安全修复 — 防重入+锁+精度+XSS
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\AccountLog;
|
||||
use App\Currency;
|
||||
use App\Level;
|
||||
use App\Users;
|
||||
use App\UsersWallet;
|
||||
use App\Setting;
|
||||
use App\Utils\RPC;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
class Test extends Command
|
||||
{
|
||||
protected $signature = "Testtest";
|
||||
protected $description = "测试";
|
||||
public function handle()
|
||||
{
|
||||
$this->comment("start");
|
||||
Users::rebate(357, 357, 3, 100, 1, 2);
|
||||
$this->comment("end");
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user