Skip to content

如何获取到当前请求控制器的名称和方法名 #1133

@tangjinghang

Description

@tangjinghang

打印了request,可是发现里面的controller和action为null,请问只能从rule里的name获取到app\controller\UserController@getList后在做处理吗

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions