From 1689dfffe9fccf370e12277729615d42dd2f2e9e Mon Sep 17 00:00:00 2001 From: jhx <133451314@qq.com> Date: Tue, 23 Aug 2022 13:58:05 +0800 Subject: [PATCH] update --- 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 dad3b58..337592c 100644 --- a/app/controller/Index.php +++ b/app/controller/Index.php @@ -12,7 +12,9 @@ class Index public function test() { - return 'test'; + return json([ + 'msg' => 'test' + ]); } public function index(Request $request, $checkIp = null)