Initial commit

This commit is contained in:
Ke Sun
2025-11-30 18:22:17 +08:00
commit aea2fe391e
449 changed files with 83030 additions and 0 deletions

10
app/core/upload_enums.py Normal file
View File

@@ -0,0 +1,10 @@
from enum import Enum
class UploadContext(str, Enum):
"""上传上下文枚举,定义文件上传的目的和分类"""
AVATAR = "avatar"
APP_ICON = "app_icon"
KNOWLEDGE_BASE = "knowledge_base"
TEMP = "temp"
ATTACHMENT = "attachment"