瀏覽代碼

fix: app subscribe

tokumeikoi 3 年之前
父節點
當前提交
0b97dd0995
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      app/Http/Controllers/Client/AppController.php

+ 3 - 3
app/Http/Controllers/Client/AppController.php

@@ -38,15 +38,15 @@ class AppController extends Controller
 
         foreach ($servers as $item) {
             if ($item['type'] === 'shadowsocks') {
-                array_push($proxy, Clash::buildShadowsocks($user['uuid'], $item));
+                array_push($proxy, Protocols\Clash::buildShadowsocks($user['uuid'], $item));
                 array_push($proxies, $item['name']);
             }
             if ($item['type'] === 'v2ray') {
-                array_push($proxy, Clash::buildVmess($user['uuid'], $item));
+                array_push($proxy, Protocols\Clash::buildVmess($user['uuid'], $item));
                 array_push($proxies, $item['name']);
             }
             if ($item['type'] === 'trojan') {
-                array_push($proxy, Clash::buildTrojan($user['uuid'], $item));
+                array_push($proxy, Protocols\Clash::buildTrojan($user['uuid'], $item));
                 array_push($proxies, $item['name']);
             }
         }