修复文件存储问题;增加文件上传;修复字段错误

This commit is contained in:
2023-06-30 15:31:58 +08:00
parent 331feb8351
commit 31957f2b0e
7 changed files with 74 additions and 46 deletions

View File

@@ -37,7 +37,7 @@ return [
// 数据库连接参数
'params' => [],
// 数据库编码默认采用utf8
'charset' => Env::get('database.charset', 'utf8'),
'charset' => Env::get('database.charset', 'utf8mb4'),
// 数据库表前缀
'prefix' => Env::get('database.prefix', 'ul_'),

View File

@@ -4,5 +4,6 @@ return [
1 => '系统LOGO',
2 => '管理员头像',
3 => '用户头像',
'editor'=>'富文本图片',
0=>'富文本图片',
'attachment'=>'附件',
];