Browse Source

update: server controller

tokumeikoi 2 years ago
parent
commit
7810db0b47

+ 1 - 1
app/Http/Controllers/Server/DeepbworkController.php

@@ -84,7 +84,7 @@ class DeepbworkController extends Controller
         foreach ($data as $item) {
             $u = $item['u'];
             $d = $item['d'];
-            $userService->trafficFetch($u, $d, $item['user_id'], $server->toArray(), 'vmess');
+            $userService->trafficFetch($u, $d, $item['user_id'], $server->toArray(), 'v2ray');
         }
 
         return response([

+ 0 - 1
app/Http/Controllers/Server/UniProxyController.php

@@ -111,7 +111,6 @@ class UniProxyController extends Controller
                 $response = [
                     'server_port' => $this->nodeInfo->server_port,
                     'network' => $this->nodeInfo->network,
-                    'cipher' => $this->nodeInfo->cipher,
                     'networkSettings' => $this->nodeInfo->networkSettings,
                     'tls' => $this->nodeInfo->tls
                 ];