diff --git a/app/Http/Controllers/V1/Admin/StatController.php b/app/Http/Controllers/V1/Admin/StatController.php index ab841b14..2adf16a0 100644 --- a/app/Http/Controllers/V1/Admin/StatController.php +++ b/app/Http/Controllers/V1/Admin/StatController.php @@ -5,6 +5,7 @@ namespace App\Http\Controllers\V1\Admin; use App\Http\Controllers\Controller; use App\Models\CommissionLog; use App\Models\Order; +use App\Models\ServerHyteria; use App\Models\ServerShadowsocks; use App\Models\ServerTrojan; use App\Models\ServerVmess; @@ -101,7 +102,8 @@ class StatController extends Controller 'v2ray' => ServerVmess::where('parent_id', null)->get()->toArray(), 'trojan' => ServerTrojan::where('parent_id', null)->get()->toArray(), 'vmess' => ServerVmess::where('parent_id', null)->get()->toArray(), - 'vless' => ServerVless::where('parent_id', null)->get()->toArray() + 'vless' => ServerVless::where('parent_id', null)->get()->toArray(), + 'hysteria'=> ServerHysteria::where('parent_id', null)->get()->toArray() ]; $startAt = strtotime('-1 day', strtotime(date('Y-m-d'))); $endAt = strtotime(date('Y-m-d'));