mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
70 lines
1.5 KiB
PHP
70 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Console\Commands;
|
|
|
|
use App\Http\Resources\TagResource;
|
|
use App\Models\Attendance;
|
|
use App\Models\Exam;
|
|
use App\Models\ExamProgress;
|
|
use App\Models\ExamUser;
|
|
use App\Models\HitAndRun;
|
|
use App\Models\Medal;
|
|
use App\Models\SearchBox;
|
|
use App\Models\Snatch;
|
|
use App\Models\Tag;
|
|
use App\Models\User;
|
|
use App\Repositories\AgentAllowRepository;
|
|
use App\Repositories\AttendanceRepository;
|
|
use App\Repositories\ExamRepository;
|
|
use App\Repositories\HitAndRunRepository;
|
|
use App\Repositories\SearchBoxRepository;
|
|
use App\Repositories\TorrentRepository;
|
|
use App\Repositories\UserRepository;
|
|
use Carbon\Carbon;
|
|
use GeoIp2\Database\Reader;
|
|
use Illuminate\Console\Command;
|
|
use Illuminate\Encryption\Encrypter;
|
|
use Illuminate\Support\Facades\DB;
|
|
use Illuminate\Support\Facades\Hash;
|
|
use Illuminate\Support\Facades\Storage;
|
|
use Rhilip\Bencode\Bencode;
|
|
|
|
class Test extends Command
|
|
{
|
|
/**
|
|
* The name and signature of the console command.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $signature = 'test:test';
|
|
|
|
/**
|
|
* The console command description.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $description = 'Just for test';
|
|
|
|
/**
|
|
* Create a new command instance.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
}
|
|
|
|
/**
|
|
* Execute the console command.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function handle()
|
|
{
|
|
$r = urldecode('%E8%8E%B7%E5%8F%96%E7%A8%8B%E5%BA%8F');
|
|
echo $r;
|
|
}
|
|
|
|
}
|