// +---------------------------------------------------------------------- use app\ExceptionHandle; use app\Request; use crmeb\utils\SafeEvent; // 容器Provider定义文件 return [ 'think\Request' => Request::class, 'think\exception\Handle' => ExceptionHandle::class, // 事件服务重绑为安全调度器:监听器异常隔离 + 事件分级,插件监听器异常不再中断下单/支付主流程 'think\Event' => SafeEvent::class, ];