From cbe48e938a54496040a0fb6e9de4cec23cd3950a Mon Sep 17 00:00:00 2001 From: testadmin Date: Thu, 14 May 2026 11:43:53 +0800 Subject: [PATCH] debug: return runtime path and data keys --- app/handle/controller/Log.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/handle/controller/Log.php b/app/handle/controller/Log.php index e2950c6..bf432f5 100644 --- a/app/handle/controller/Log.php +++ b/app/handle/controller/Log.php @@ -32,7 +32,7 @@ class Log 'ua' => Request::instance()->header('user-agent', ''), 'ip' => Request::instance()->ip(), ]); - return json(['status' => 1]); + return json(['status' => 1, 'path' => runtime_path(), 'data_keys' => array_keys($data)]); } catch (\Throwable $e) { return json(['status' => 0, 'error' => $e->getMessage(), 'path' => runtime_path()]); }