framework icon indicating copy to clipboard operation
framework copied to clipboard

注解路由加载和文件路由加载顺序问题

Open FeiLiao-9 opened this issue 2 years ago • 0 comments

topthink/framework:8.0 topthink/think-annotation:2.0

例如定义了文件路由的MISS路由,然后注解路由定义的所有路由都不能使用;

Route::group('/', function () {
  Route::miss(function () {
    var_dump(111);
  });
})

能否调整下加载事件 image

试着调整了下 就可以访问 image

官方看看,是否能适当调整下

FeiLiao-9 avatar Sep 12 '23 10:09 FeiLiao-9