feat(extensions): 新增系统工具页面与前台投稿分片上传

This commit is contained in:
kate522 committed 2026-10-06 11:09:05 +08:00
1 parent 613b8a57a3
commit b75bf197a3
25 files changed
+1982 -58

No files matched your search

-7
View File
@@ -131,13 +131,6 @@ class SchemaPermissions {
['key' => 'val', 'label' => '格式', 'type' => 'textarea', 'default' => '', 'rows' => 1, 'placeholder' => '如:svg=image/svg+xml,mp3=audio/mpeg'],
]],
]],
['key' => 'behavior', 'title' => '上传行为', 'fields' => [
['key' => 'newfilename', 'label' => '上传文件自动重命名', 'type' => 'switch', 'default' => false, 'help' => '开启后上传文件按规则重命名,减少重名文件查询,提高上传效率。'],
['key' => 'newfilename_type', 'label' => '重命名格式', 'type' => 'radio', 'default' => 'time', 'dependsOn' => ['key' => 'newfilename', 'value' => true], 'options' => [
['label' => '时间 + 原文件名', 'value' => 'time'],
['label' => '随机字符串', 'value' => 'random'],
]],
]],
],
],
'moderation' => [