版本:thinkphp5.1.26
域名:www.xxx.cn
写了条路由,Route::get('test', 'admin/Auth/test')
这种情况下,无论大小写都可以访问。
如www.xx.cn/test或者www.xx.cn/Test都可以。
但是如果路由中加了参数
Route::get('test/:id', 'admin/Auth/test')
这种情况下,访问www.xx.cn/test/12
而访问访问www.xx.cn/Test/12(注意大写T)
会提示“模块不存在:test”
这算bug吗?