catchAdmin/catch/domain/config.php

43 lines
1.3 KiB
PHP
Raw Normal View History

2020-09-26 15:10:41 +08:00
<?php
// +----------------------------------------------------------------------
// | CatchAdmin [Just Like ]
// +----------------------------------------------------------------------
// | Copyright (c) 2017~2020 http://catchadmin.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( https://github.com/yanwenwu/catch-admin/blob/master/LICENSE.txt )
// +----------------------------------------------------------------------
// | Author: JaguarJack [ njphper@gmail.com ]
// +----------------------------------------------------------------------
2020-09-28 09:55:30 +08:00
use think\facade\Env;
2020-09-26 15:10:41 +08:00
return [
'domains' => [
// 默认阿里云
'default' => 'aliyun',
/**
* 阿里云配置
*
*/
'aliyun' => [
'api_domain' => 'http://alidns.aliyuncs.com',
2020-09-28 09:55:30 +08:00
'access_key' => Env::get('aliyun.access_key', ''),
2020-09-26 15:10:41 +08:00
2020-09-28 09:55:30 +08:00
'access_secret' => Env::get('aliyun.access_secret', ''),
2020-09-26 15:10:41 +08:00
],
/**
* 腾讯云配置
*
*/
'qcloud' => [
2020-09-28 09:55:30 +08:00
'api_domain' => 'cns.api.qcloud.com',
'access_key' => Env::get('qcloud.access_key', ''),
'access_secret' => Env::get('qcloud.access_secret', ''),
2020-09-26 15:10:41 +08:00
]
]
];