Replies: 2 comments
-
由于中间件的执行流程设计,在全局中间件或者应用中间件中是不能获取当前的控制器和操作的,如果你需要获取控制器和操作必须使用路由中间件或者控制器中间件。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ken678 给个示例啊。。。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如下代码结果:
module:user
controller:
action:
controller
和action
是空的。Beta Was this translation helpful? Give feedback.
All reactions