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' => '成功']); } }