mirror of
https://github.com/v2board/v2board.git
synced 2025-08-12 18:13:30 +08:00
update: statistics service
This commit is contained in:
@ -71,7 +71,11 @@ class UniProxyController extends Controller
|
||||
}
|
||||
|
||||
$statService = new StatisticalService();
|
||||
$statService->setStartAt(strtotime(date('Y-m-d')));
|
||||
$statService->setUserStats();
|
||||
$statService->statUser($this->nodeInfo->rate, $data);
|
||||
$statService->setServerStats();
|
||||
$statService->statServer($this->nodeId, $this->nodeType, $data);
|
||||
|
||||
return response([
|
||||
'data' => true
|
||||
|
Reference in New Issue
Block a user