mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-07 18:42:49 +08:00
重构默认本地上传组件;
This commit is contained in:
@@ -14,21 +14,21 @@ return [
|
||||
],
|
||||
'local_public' => [
|
||||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
'type' => 'LocalPublic',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'public/storage',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => Request::domain() . '/storage',
|
||||
'url' => '/storage',
|
||||
// 可见性
|
||||
'visibility' => 'public',
|
||||
],
|
||||
'local_static' => [
|
||||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
'type' => 'LocalPublic',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'public/static',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => Request::domain() . '/static',
|
||||
'url' => '/static',
|
||||
// 可见性
|
||||
'visibility' => 'public',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user