diff --git a/app/common/controller/ApiController.php b/app/common/controller/ApiController.php index a06a035..f2efddb 100644 --- a/app/common/controller/ApiController.php +++ b/app/common/controller/ApiController.php @@ -15,6 +15,7 @@ class ApiController { Log::info('请求路由---' . request()->controller . '\\' . request()->action . '-----请求数据---' . json_encode(request()->post())); $user_info = Base::getUser(request()->header('token')); + Log::info('用户信息---' . json_encode($user_info)); $this->uid = $user_info['uid']; $this->user_type = $user_info['user_type']; }