完成静态文件上传功能并去除外部依赖;

This commit is contained in:
2022-07-12 12:47:32 +08:00
parent 4ab8630617
commit aa449093e1
3 changed files with 78 additions and 33 deletions

View File

@@ -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'
],