Преглед на файлове

update: server controller

tokumeikoi преди 2 години
родител
ревизия
7810db0b47
променени са 2 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1 1
      app/Http/Controllers/Server/DeepbworkController.php
  2. 0 1
      app/Http/Controllers/Server/UniProxyController.php

+ 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
                 ];