From 985061b1feada3677f29b421ddf3e42e33369eeb Mon Sep 17 00:00:00 2001 From: anfu Date: Fri, 13 Sep 2024 10:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=87=BAIP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/controller/Index.php b/app/controller/Index.php index 0241ce9..18ab0c0 100644 --- a/app/controller/Index.php +++ b/app/controller/Index.php @@ -34,10 +34,12 @@ class Index 'code' => 200, 'msg' => null, 'data' => [ + "serverIp" => $serverIP, "name" => $trueName, "url" => 'http://' . $serverIP . '/' . $savename, // "url" => 'http://192.168.1.105:8080/file/' . $savename, - ] + ], + 'envs' => $_ENV ]); } }