chenxiqiang 6 anni fa
parent
commit
fe435a6679
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      manage-server/app/Http/Controllers/CommonController.php

+ 1
- 1
manage-server/app/Http/Controllers/CommonController.php Vedi File

@@ -383,7 +383,7 @@ class CommonController extends Controller
383 383
     }
384 384
 
385 385
     public function server_json(Request $request) {
386
-        $disk = Storage::disk('public');
386
+        $disk = Storage::disk('local');
387 387
         $json_string = $disk->get("server.json");
388 388
         // 用参数true把JSON字符串强制转成PHP数组  
389 389
         $data = json_decode($json_string, true);  

Loading…
Annulla
Salva