Skip to content

在“异常处理接管”中获取不到Request内容 #32

@ygcool

Description

@ygcool

在自定义异常处理接管中"\app\common\exception\Http", 获取不到Request
试过:request()->baseUrl() 和 Request::baseUrl() 都拿不到,请问如何在异常处理中获取request内容呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions