app目录下是正常拦截,如放在demo文件下,再进行配置
<?php
use app\ExceptionHandle;
// 容器Provider定义文件
return [
'think\exception\Handle' => '\\app\\demo\\exception\\Http',
];
直接报错:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
有遇到的并解决的小伙伴吗?