Procházet zdrojové kódy

fix: v2ray advance config

Tokumeikoi před 4 roky
rodič
revize
ad8dee359f
2 změnil soubory, kde provedl 9 přidání a 0 odebrání
  1. 9 0
      app/Services/ServerService.php
  2. 0 0
      public/assets/admin/umi.js

+ 9 - 0
app/Services/ServerService.php

@@ -319,6 +319,15 @@ class ServerService
             if (!empty($server[$i]['tags'])) {
                 $server[$i]['tags'] = json_decode($server[$i]['tags']);
             }
+            if (!empty($server[$i]['dnsSettings'])) {
+                $server[$i]['dnsSettings'] = json_decode($server[$i]['dnsSettings']);
+            }
+            if (!empty($server[$i]['tlsSettings'])) {
+                $server[$i]['tlsSettings'] = json_decode($server[$i]['tlsSettings']);
+            }
+            if (!empty($server[$i]['ruleSettings'])) {
+                $server[$i]['ruleSettings'] = json_decode($server[$i]['ruleSettings']);
+            }
             $server[$i]['group_id'] = json_decode($server[$i]['group_id']);
             $server[$i]['online'] = Cache::get(CacheKey::get('SERVER_V2RAY_ONLINE_USER', $server[$i]['parent_id'] ? $server[$i]['parent_id'] : $server[$i]['id']));
             if ($server[$i]['parent_id']) {

Rozdílová data souboru nebyla zobrazena, protože soubor je příliš velký
+ 0 - 0
public/assets/admin/umi.js


Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů