mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
完成静态文件上传功能并去除外部依赖;
This commit is contained in:
@@ -22,6 +22,16 @@ return [
|
||||
// 可见性
|
||||
'visibility' => 'public',
|
||||
],
|
||||
'local_static' => [
|
||||
// 磁盘类型
|
||||
'type' => 'local',
|
||||
// 磁盘路径
|
||||
'root' => app()->getRootPath() . 'public/static',
|
||||
// 磁盘路径对应的外部URL路径
|
||||
'url' => Request::domain() . '/static',
|
||||
// 可见性
|
||||
'visibility' => 'public',
|
||||
],
|
||||
'qnoss' => [
|
||||
'type' => 'Qiniu'
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user