异常处理 2.配置能被swoft扫描到 return [ 'version' => '1.0', 'App\Commands', ], 'beanScan' => [ 'App\Controllers', 'App\Models', 'App\Exception', ], 'env' => 'Base', 'db' => require __DIR__ . DS . 'db.php', 'cache' => require __DIR__ . DS . 'cache.php',