昨日流量排行增加hy节点

This commit is contained in:
root 2023-10-10 03:14:27 +09:00
parent 299f5bb724
commit 5ad5a633a9
No known key found for this signature in database
GPG Key ID: 8827A30FF1DB1379

View File

@ -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'));