config.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | CatchAdmin [Just Like ~ ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
  8. // +----------------------------------------------------------------------
  9. // | Author: JaguarJack [ njphper@gmail.com ]
  10. // +----------------------------------------------------------------------
  11. use think\facade\Env;
  12. return [
  13. 'domains' => [
  14. // 默认阿里云
  15. 'default' => 'aliyun',
  16. /**
  17. * 阿里云配置
  18. *
  19. */
  20. 'aliyun' => [
  21. 'api_domain' => 'http://alidns.aliyuncs.com',
  22. 'access_key' => Env::get('aliyun.access_key', ''),
  23. 'access_secret' => Env::get('aliyun.access_secret', ''),
  24. ],
  25. /**
  26. * 腾讯云配置
  27. *
  28. */
  29. 'qcloud' => [
  30. 'api_domain' => 'cns.api.qcloud.com',
  31. 'access_key' => Env::get('qcloud.access_key', ''),
  32. 'access_secret' => Env::get('qcloud.access_secret', ''),
  33. ]
  34. ]
  35. ];