From d5885127fe31241e159fa5249a0c9282827247a0 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq,com> Date: Tue, 28 Nov 2023 15:36:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=8E=A5=E6=94=B6=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=20=E5=B9=B6=E4=BF=9D=E5=AD=98=E5=88=B0=E6=97=A5?= =?UTF-8?q?=E5=BF=972?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/Index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controller/Index.php b/app/controller/Index.php index e8864f0..0f594fe 100644 --- a/app/controller/Index.php +++ b/app/controller/Index.php @@ -23,7 +23,7 @@ class Index extends BaseController $param = Request::param() ?? []; $input = stream_get_contents($handle); fclose($handle); - Log::info('HTTP',$param); - echo $input; + Log::info(json_encode($param)); + return json(['code' => 200, 'msg' => '成功']); } }