12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <?php
- return [
-
- 'default' => env('filesystem.driver', 'local'),
-
- 'disks' => [
- 'local' => [
- 'type' => 'local',
- 'root' => app()->getRuntimePath() . 'storage',
- ],
- 'public' => [
-
- 'type' => 'local',
-
- 'root' => app()->getRootPath() . 'public/storage',
-
- 'url' => '/storage',
-
- 'visibility' => 'public',
- ],
-
- 'resource' => [
-
- 'type' => 'local',
-
- 'root' => app()->getRootPath() . 'public/resource',
-
- 'url' => '/resource',
-
- 'visibility' => 'public',
- ],
- ],
- "image"=>[
- "path"=>["avatar","video","image","circle","advert","goods","activity","icon","wximg"],
- "ext"=>["png","jpeg","gif","jpg"],
- "size"=>2
- ],
- "video"=>[
- "path"=>["video"],
- "ext" =>["mp4","megp4"]
- ],
- ];
|