初始化项目

This commit is contained in:
augushong
2021-06-19 13:09:45 +08:00
parent 9dff1d6115
commit ae9f2c6999
176 changed files with 23274 additions and 0 deletions

26
config/filesystem.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
use think\facade\Env;
return [
// 默认磁盘
'default' => Env::get('filesystem.driver', 'local'),
// 磁盘列表
'disks' => [
'local' => [
'type' => 'local',
'root' => app()->getRuntimePath() . 'storage',
],
'public' => [
// 磁盘类型
'type' => 'local',
// 磁盘路径
'root' => app()->getRootPath() . 'public/',
// 磁盘路径对应的外部URL路径
'url' => '/',
// 可见性
'visibility' => 'public',
],
// 更多的磁盘配置信息
],
];