mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
Compare commits
2 Commits
60e21e87ac
...
1ecc6eb7dc
Author | SHA1 | Date | |
---|---|---|---|
|
1ecc6eb7dc | ||
|
769f3a8a4f |
@ -8,6 +8,7 @@ use App\Models\Order;
|
|||||||
use App\Models\ServerShadowsocks;
|
use App\Models\ServerShadowsocks;
|
||||||
use App\Models\ServerTrojan;
|
use App\Models\ServerTrojan;
|
||||||
use App\Models\ServerVmess;
|
use App\Models\ServerVmess;
|
||||||
|
use App\Models\ServerHysteria;
|
||||||
use App\Models\Stat;
|
use App\Models\Stat;
|
||||||
use App\Models\StatServer;
|
use App\Models\StatServer;
|
||||||
use App\Models\StatUser;
|
use App\Models\StatUser;
|
||||||
@ -99,7 +100,8 @@ class StatController extends Controller
|
|||||||
'shadowsocks' => ServerShadowsocks::where('parent_id', null)->get()->toArray(),
|
'shadowsocks' => ServerShadowsocks::where('parent_id', null)->get()->toArray(),
|
||||||
'v2ray' => ServerVmess::where('parent_id', null)->get()->toArray(),
|
'v2ray' => ServerVmess::where('parent_id', null)->get()->toArray(),
|
||||||
'trojan' => ServerTrojan::where('parent_id', null)->get()->toArray(),
|
'trojan' => ServerTrojan::where('parent_id', null)->get()->toArray(),
|
||||||
'vmess' => ServerVmess::where('parent_id', null)->get()->toArray()
|
'vmess' => ServerVmess::where('parent_id', null)->get()->toArray(),
|
||||||
|
'hysteria' => ServerHysteria::where('parent_id', null)->get()->toArray()
|
||||||
];
|
];
|
||||||
$startAt = strtotime('-1 day', strtotime(date('Y-m-d')));
|
$startAt = strtotime('-1 day', strtotime(date('Y-m-d')));
|
||||||
$endAt = strtotime(date('Y-m-d'));
|
$endAt = strtotime(date('Y-m-d'));
|
||||||
|
Loading…
Reference in New Issue
Block a user