全局异常处理

This commit is contained in:
yanwnewu
2018-11-30 18:04:35 +08:00
parent 430e466e12
commit 70889deb73
3 changed files with 47 additions and 15 deletions

View File

@@ -141,6 +141,6 @@ return [
// 显示错误信息
'show_error_msg' => false,
// 异常处理handle类 留空使用 \think\exception\Handle
'exception_handle' => '',
'exception_handle' => app\exceptions\Handle::class,
];