refactor: 修改图片上传

This commit is contained in:
2025-01-18 18:13:38 +08:00
parent 471a805015
commit 19f261a12f
2 changed files with 13 additions and 3 deletions

View File

@@ -19,6 +19,16 @@ return [
// 可见性
'visibility' => 'public',
],
'image' => [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/storage/images',
// 磁盘路径对应的外部URL路径
'url' => '/storage/images',
// 可见性
'visibility' => 'public',
],
// 更多的磁盘配置信息
],
];