laravel错误页面自定义

1.建立view层errors文件夹在其内建立以错误码为名的错误文件html 2.在控制器内调用abort()方法code public function index(){ abort('503'); }
相关文章
相关标签/搜索