CaiWuXiTong/config/business_storage.php

31 lines
971 B
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Business File Storage
|--------------------------------------------------------------------------
|
| Program assets (JavaScript, CSS, fonts and bundled images) are always
| shipped inside the application image. Only user-uploaded business files
| use the private Qiniu bucket in production.
|
*/
'driver' => strtolower((string) env('BUSINESS_STORAGE_DRIVER', 'local')),
'qiniu' => [
// This project intentionally has exactly one business-file bucket.
'bucket' => 'caiwu-jiansun',
'region' => 'cn-east-1',
'endpoint' => 'https://s3.cn-east-1.qiniucs.com',
'root' => 'business-files',
'private_domain' => 'https://caiwu.jiansun.vip',
'signed_url_ttl' => 300,
'access_key' => env('QINIU_ACCESS_KEY'),
'secret_key' => env('QINIU_SECRET_KEY'),
],
];