From 3e4e22797ae4bd57e75f5dec5fe71e7b200d6b32 Mon Sep 17 00:00:00 2001 From: ASUS <515617283@qq.com> Date: Wed, 3 Dec 2025 09:50:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=A4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/controller/ApiController.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/common/controller/ApiController.php b/app/common/controller/ApiController.php index 1a45a06..9d0a378 100644 --- a/app/common/controller/ApiController.php +++ b/app/common/controller/ApiController.php @@ -4,6 +4,8 @@ namespace app\common\controller; use app\exception\MyBusinessException; use extend\chat\model\Base; use support\exception\BusinessException; +use support\Log; + class ApiController { public $uid; @@ -11,6 +13,7 @@ class ApiController public function __construct() { + Log::info('请求数据---' . json_encode(request()->post())); $user_info = Base::getUser(request()->header('token')); $this->uid = $user_info['uid']; $this->user_type = $user_info['user_type'];