chenxiqiang hace 6 años
padre
commit
fe435a6679
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      manage-server/app/Http/Controllers/CommonController.php

+ 1
- 1
manage-server/app/Http/Controllers/CommonController.php Ver fichero

@@ -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…
Cancelar
Guardar