true, 'default' => 'oss', 'max_size' => 1024 * 1024 * 10, //单个文件大小10M 'ext_yes' => [], //允许上传文件类型 为空则为允许所有 'ext_no' => [], // 不允许上传文件类型 为空则不限制 'storage' => [ 'public' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\LocalAdapterFactory::class, 'root' => public_path(), 'url' => '//wjba.oss-accelerate.aliyuncs.com' // 静态文件访问域名 ], 'local' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\LocalAdapterFactory::class, 'root' => runtime_path(), 'url' => \support\Env::get('server.domain','http://127.0.0.1') // 静态文件访问域名 ], 'ftp' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\FtpAdapterFactory::class, 'host' => 'ftp.example.com', 'username' => 'username', 'password' => 'password', 'url' => '' // 静态文件访问域名 // 'port' => 21, // 'root' => '/path/to/root', // 'passive' => true, // 'ssl' => true, // 'timeout' => 30, // 'ignorePassiveAddress' => false, // 'timestampsOnUnixListingsEnabled' => true, ], 'memory' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\MemoryAdapterFactory::class, ], 's3' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\S3AdapterFactory::class, 'credentials' => [ 'key' => 'S3_KEY', 'secret' => 'S3_SECRET', ], 'region' => 'S3_REGION', 'version' => 'latest', 'bucket_endpoint' => false, 'use_path_style_endpoint' => false, 'endpoint' => 'S3_ENDPOINT', 'bucket_name' => 'S3_BUCKET', 'url' => '' // 静态文件访问域名 ], 'minio' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\S3AdapterFactory::class, 'credentials' => [ 'key' => '8cF8LM6VD3uZHzibS9qB', 'secret' => 'jKXbzKi8rKPHSOqPPNj3Xwr6z2OBSwGH0d48I8p7', ], 'region' => 'S3_REGION', 'version' => 'latest', 'bucket_endpoint' => false, 'use_path_style_endpoint' => true, 'endpoint' => 'http://localhost:10005/', 'bucket_name' => 'openim', 'url' => 'http://156.238.245.175:10005/openim' // 静态文件访问域名 ], 'oss' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\AliyunOssAdapterFactory::class, 'accessId' => 'LTAI5tAAVVWAyavjFEpjSqjP', 'accessSecret' => 'qBOXJLe5xFGbH01UdcTYVZ1JKDV4ia', 'bucket' => 'shunliao', 'endpoint' => 'oss-cn-shenzhen.aliyuncs.com', 'url' => 'https://shunliao.oss-accelerate.aliyuncs.com', // 静态文件访问域名 // 'timeout' => 3600, // 'connectTimeout' => 10, 'isCName' => false, // 'token' => null, // 'proxy' => null, 'prefix' => '', ], 'qiniu' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\QiniuAdapterFactory::class, 'accessKey' => 'QINIU_ACCESS_KEY', 'secretKey' => 'QINIU_SECRET_KEY', 'bucket' => 'QINIU_BUCKET', 'domain' => 'QINBIU_DOMAIN', 'url' => '' // 静态文件访问域名 ], 'cos' => [ 'driver' => \Shopwwi\WebmanFilesystem\Adapter\CosAdapterFactory::class, 'region' => 'COS_REGION', 'app_id' => 'COS_APPID', 'secret_id' => 'COS_SECRET_ID', 'secret_key' => 'COS_SECRET_KEY', // 可选,如果 bucket 为私有访问请打开此项 // 'signed_url' => false, 'bucket' => 'COS_BUCKET', 'read_from_cdn' => false, 'url' => '' // 静态文件访问域名 // 'timeout' => 60, // 'connect_timeout' => 60, // 'cdn' => '', // 'scheme' => 'https', ], ], ];