modify: 集成文件上传

This commit is contained in:
2026-04-20 17:11:31 +08:00
parent 69d1c5fc67
commit 55463a9d07
25 changed files with 736 additions and 44 deletions
+4 -1
View File
@@ -4,6 +4,8 @@ app.version = "chongming"
app.description = "基于 FastAPI 的 chongming 打包脚手架"
app.debug = false
env = "development"
prefix = "/api/v1"
upload_path = "uploads"
[database]
type = "sqlite"
@@ -12,6 +14,7 @@ generate_schemas = true # 生产环境使用迁移工具
[database.sqlite]
echo = true
echo_pool = true
pool_size = 20
max_overflow = 10
pool_timeout = 30
@@ -82,4 +85,4 @@ path = ["resources/app.mbank", "resources/plugins.mbank"]
[production.file_system]
type = "svfs"
path = "resources/application.vfs"
path = "static.svfs"