mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
30 lines
736 B
PHP
30 lines
736 B
PHP
<?php
|
|
|
|
use think\facade\Env;
|
|
|
|
return [
|
|
// 默认磁盘
|
|
'default' => Env::get('filesystem.driver', 'local'),
|
|
// 磁盘列表
|
|
'disks' => [
|
|
'local' => [
|
|
'type' => 'local',
|
|
'root' => app()->getRuntimePath() . 'storage',
|
|
],
|
|
'local_public' => [
|
|
// 磁盘类型
|
|
'type' => 'local',
|
|
// 磁盘路径
|
|
'root' => app()->getRootPath() . 'public',
|
|
// 磁盘路径对应的外部URL路径
|
|
'url' => '/storage',
|
|
// 可见性
|
|
'visibility' => 'public',
|
|
],
|
|
'qnoss' => [
|
|
'type' => 'Qiniu'
|
|
]
|
|
// 更多的磁盘配置信息
|
|
],
|
|
];
|