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)