diff --git a/app/common/controller/ApiController.php b/app/common/controller/ApiController.php index 9d0a378..a06a035 100644 --- a/app/common/controller/ApiController.php +++ b/app/common/controller/ApiController.php @@ -13,7 +13,7 @@ class ApiController public function __construct() { - Log::info('请求数据---' . json_encode(request()->post())); + Log::info('请求路由---' . request()->controller . '\\' . request()->action . '-----请求数据---' . json_encode(request()->post())); $user_info = Base::getUser(request()->header('token')); $this->uid = $user_info['uid']; $this->user_type = $user_info['user_type'];