mirror of
https://github.com/v2board/v2board.git
synced 2025-06-27 04:39:56 +08:00
update: statistical service
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
namespace App\Http\Controllers\Server;
|
||||
|
||||
use App\Services\ServerService;
|
||||
use App\Services\StatisticalService;
|
||||
use App\Services\UserService;
|
||||
use App\Utils\CacheKey;
|
||||
use App\Utils\Helper;
|
||||
@ -69,6 +70,9 @@ class UniProxyController extends Controller
|
||||
$userService->trafficFetch($u, $d, $k, $this->nodeInfo->toArray(), $this->nodeType);
|
||||
}
|
||||
|
||||
$statService = new StatisticalService();
|
||||
$statService->statUser($this->nodeInfo->rate, $data);
|
||||
|
||||
return response([
|
||||
'data' => true
|
||||
]);
|
||||
|
Reference in New Issue
Block a user