Route::any('addons/:addon/[:controller]/[:action]', "\\think\\addons\\Route@execute");
代码来自: https://github.com/5ini99/thi...
请问这句代码的作用什么是什么呢?
Route@execute
干嘛用的?
Route::any('addons/:addon/[:controller]/[:action]', "\\think\\addons\\Route@execute");
代码来自: https://github.com/5ini99/thi...
请问这句代码的作用什么是什么呢?
Route@execute
干嘛用的?
2 回答2.5k 阅读✓ 已解决
2 回答1.1k 阅读✓ 已解决
1 回答1.1k 阅读✓ 已解决
2 回答555 阅读✓ 已解决
1 回答858 阅读✓ 已解决
950 阅读
2 回答588 阅读
Route::any
路由定义,支持所有类型,如GET
POST
"\\think\\addons\\Route@execute"
指向\addons\Route.php@execute