Can thinkphp5 (or laravel) execute two routing rules at the same time?
高洛峰
高洛峰 2017-06-06 09:54:10
0
2
581

I need to execute closure routing first to check parameters, and then forward it to the corresponding controller. How can I achieve this requirement?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
小葫芦

Laravel has middleware for parameter checking. To write middleware, just add the middleware to the routing parameters.

黄舟

You can execute the middleware settings, but be careful not to use the system admin for the two routes

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template