|
|
|
@ -57,14 +57,14 @@ return [
|
|
|
|
|
|
|
|
|
|
|
|
'oss' => [
|
|
|
|
'oss' => [
|
|
|
|
'driver' => 'oss',
|
|
|
|
'driver' => 'oss',
|
|
|
|
'access_id' => 'LTAIPBwk3qMhHat5',
|
|
|
|
'access_id' => 'YREDxBwk3qMhHat5',
|
|
|
|
'access_key' => 'HjAzFWe5ngFdU7n3hwb0Q3UGJoXBoj',
|
|
|
|
'access_key' => 'sjAzFWe5ngFdU3e3hwb0d3UGJoXBoj',
|
|
|
|
'bucket' => 'xiaot-static',
|
|
|
|
'bucket' => 'static',
|
|
|
|
'endpoint' => 'oss-cn-hangzhou.aliyuncs.com', // OSS 外网节点或自定义外部域名
|
|
|
|
'endpoint' => 'oss-.aliyuncs.com', // OSS 外网节点或自定义外部域名
|
|
|
|
//'endpoint_internal' => '<internal endpoint [OSS内网节点] 如:oss-cn-shenzhen-internal.aliyuncs.com>', // v2.0.4 新增配置属性,如果为空,则默认使用 endpoint 配置(由于内网上传有点小问题未解决,请大家暂时不要使用内网节点上传,正在与阿里技术沟通中)
|
|
|
|
//'endpoint_internal' => '<internal endpoint [OSS内网节点] 如:oss-cn-shenzhen-internal.aliyuncs.com>', // v2.0.4 新增配置属性,如果为空,则默认使用 endpoint 配置(由于内网上传有点小问题未解决,请大家暂时不要使用内网节点上传,正在与阿里技术沟通中)
|
|
|
|
//'cdnDomain' => '<CDN domain, cdn域名>', // 如果isCName为true, getUrl会判断cdnDomain是否设定来决定返回的url,如果cdnDomain未设置,则使用endpoint来生成url,否则使用cdn
|
|
|
|
//'cdnDomain' => '<CDN domain, cdn域名>', // 如果isCName为true, getUrl会判断cdnDomain是否设定来决定返回的url,如果cdnDomain未设置,则使用endpoint来生成url,否则使用cdn
|
|
|
|
// 'debug' => true,
|
|
|
|
// 'debug' => true,
|
|
|
|
'url' => 'https://xiaot-static.oss-cn-hangzhou.aliyuncs.com'
|
|
|
|
'url' => 'https://oss.aliyuncs.com'
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
's3' => [
|
|
|
|
's3' => [
|
|
|
|
@ -79,7 +79,7 @@ return [
|
|
|
|
'driver' => 'local',
|
|
|
|
'driver' => 'local',
|
|
|
|
'root' => public_path('uploads'),
|
|
|
|
'root' => public_path('uploads'),
|
|
|
|
'visibility' => 'public',
|
|
|
|
'visibility' => 'public',
|
|
|
|
'url' => env('API_URL','https://xiaocheng.xuezhangbang.me').'/uploads',
|
|
|
|
'url' => env('API_URL','').'/uploads',
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
|
|
|
|
|