From ab8ebd593f981e93e8d3f05dee384602f626907f Mon Sep 17 00:00:00 2001 From: Beta Soft Date: Mon, 8 Mar 2021 19:12:25 +0800 Subject: [PATCH 1/2] URLSchemes: let's support standard v2ray vmess URL Schemes --- app/Utils/URLSchemes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Utils/URLSchemes.php b/app/Utils/URLSchemes.php index dad79639..b12c4828 100644 --- a/app/Utils/URLSchemes.php +++ b/app/Utils/URLSchemes.php @@ -36,9 +36,9 @@ class URLSchemes "v" => "2", "ps" => $server['name'], "add" => $server['host'], - "port" => $server['port'], + "port" => (string)$server['port'], "id" => $user['uuid'], - "aid" => $server['alter_id'], + "aid" => (string)$server['alter_id'], "net" => $server['network'], "type" => "none", "host" => "", From a49faf3e1f0c9a40d0e8c83b79bcad5da2e0235c Mon Sep 17 00:00:00 2001 From: Beta Soft Date: Fri, 19 Mar 2021 18:28:58 +0800 Subject: [PATCH 2/2] V2boardStatistics: comply with psr-4 autoloading standard --- app/Console/Commands/V2boardStatistics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/V2boardStatistics.php b/app/Console/Commands/V2boardStatistics.php index ce37da90..953da8f8 100644 --- a/app/Console/Commands/V2boardStatistics.php +++ b/app/Console/Commands/V2boardStatistics.php @@ -9,7 +9,7 @@ use App\Models\StatOrder; use App\Models\ServerLog; use Illuminate\Support\Facades\DB; -class V2BoardStatistics extends Command +class V2boardStatistics extends Command { /** * The name and signature of the console command.