config.php 455 B

12345678910111213141516171819
  1. <?php
  2. return
  3. [
  4. 'exception_handle' => '\\rest\\common\\exception\\Notification',
  5. 'log' => [
  6. 'type' => 'File',
  7. 'path' => LOG_PATH,
  8. 'level' => ['error','sql'],
  9. 'file_size'=>102400000,
  10. ],
  11. 'enable_log_request'=>true, //记录请求日志
  12. 'mail'=>[
  13. 'username'=>'123456@qq.com',
  14. 'password'=>'123456',
  15. 'host'=>'smtp.qq.com',
  16. 'port'=>465,
  17. ],
  18. ];