12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?php
- use think\facade\Env;
- return [
-
- 'default' => Env::get('filesystem.driver', 'local'),
-
- 'disks' => [
- 'local' => [
- 'type' => 'local',
- 'root' => app()->getRootPath() . 'public'.DIRECTORY_SEPARATOR.'images',
- 'domain' => env('app.domain'),
- ],
- 'public' => [
-
- 'type' => 'local',
-
- 'root' => app()->getRootPath() . 'public/storage',
-
- 'url' => '/storage',
-
- 'visibility' => 'public',
- ],
-
- 'qiniu' => [
- 'type' => 'qiniu',
- 'access_key' => '',
- 'secret_key' => '',
- 'bucket' => '',
- 'domain' => '',
- ],
- 'oss' => [
- 'type' => 'oss',
- 'prefix' => '',
- 'access_key' => '',
- 'secret_key' => '',
- 'end_point' => '',
- 'bucket' => '',
- 'is_cname' => false
- ],
-
- 'qcloud' => [
- 'type' => 'qcloud',
- 'region' => '',
- 'credentials' => [
- 'appId' => '',
- 'secretId' => '',
- 'secretKey' => '',
- ],
- 'bucket' => '',
- 'timeout' => 60,
- 'connect_timeout' => 60,
- 'cdn' => '',
- 'scheme' => 'https',
- 'read_from_cdn' => false,
- ]
- ]
- ];
|