Commit 85a7e496 authored by 杨培's avatar 杨培

线上七牛配置

parent 4e6da03a
...@@ -33,20 +33,20 @@ return [ ...@@ -33,20 +33,20 @@ return [
'qiniu' => [ 'qiniu' => [
'class' => 'common\components\Qiniu', 'class' => 'common\components\Qiniu',
'accessKey' => 'n85SCPB9uO2v32az-3TRFsZCXwJu7YddyzLRYXg-', 'accessKey' => 'Tm34_10r5kYLrUProU3Rx82HXCOnYuF8MhirB_YR',
'secretKey' => 'KDl3b7aLpj7n9YZ07lHGivVY4c_Q-0QSM0TZ_-XS', 'secretKey' => 'NwLeT4eF_C2UStiHzNAQmzqnIq_ru-BdHFK43Isn',
'storages' => [ 'storages' => [
'public' => [ 'public' => [
'bucket' => 'pp-classroom', 'bucket' => 'yunya-public',
'fsizeLimit' => pow(1024, 2) * 5, //5MB 'fsizeLimit' => pow(1024, 2) * 5, //5MB
'mimeLimit' => 'image/jpeg;image/png;image/gif', 'mimeLimit' => 'image/jpeg;image/png;image/gif',
'url' => 'http://dev.qdn.pp.cc/' 'url' => 'http://of805nn40.bkt.clouddn.com/'
], ],
'video' => [ 'video' => [
'bucket' => 'pp-classroom-private', 'bucket' => 'yunya-video',
'fsizeLimit' => pow(1024, 3) * 2, //2GB 'fsizeLimit' => pow(1024, 3) * 2, //2GB
'mimeLimit' => 'video/*;flv-application/octet-stream', 'mimeLimit' => 'video/*;flv-application/octet-stream',
'url' => 'http://oe9d6dr84.bkt.clouddn.com/' 'url' => 'http://of80drz7s.bkt.clouddn.com/'
] ]
] ]
] ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment