We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
路由(Route)
8.1.2
Windows
使用8.1+版本开始支持的多模块URL自动解析功能,并定义全局MISS路由
8.1+
Route::miss(function() { return '404 Not Found!'; }); Route::auto();
404 Not Found!
控制器不存在:app\controller\admin\Fake
以上场景,如将Route::auto();移除,MISS路由功能将恢复正常工作,会按预期返回404 Not Found!
Route::auto();
HttpException in D:\www\test\vendor\topthink\framework\src\think\route\dispatch\Controller.php line 85
The text was updated successfully, but these errors were encountered:
No branches or pull requests
所属功能组件
路由(Route)
ThinkPHP 版本
8.1.2
操作系统
Windows
错误信息
使用
8.1+
版本开始支持的多模块URL自动解析功能,并定义全局MISS路由404 Not Found!
控制器不存在:app\controller\admin\Fake
The text was updated successfully, but these errors were encountered: