chore: 整理项目结构,清理归档文件,更新部署配置

This commit is contained in:
Simon
2026-07-04 21:01:39 +08:00
parent 8bd4ab0366
commit 64ff1bf7d5
508 changed files with 43575 additions and 14129 deletions
+10
View File
@@ -224,6 +224,16 @@ class JoinConversationRequest(BaseModel):
employee_id: str = Field(..., min_length=1, max_length=64, description="企微员工UserID")
class UpdateTagsRequest(BaseModel):
"""保存会话标签请求 Schema。
Attributes:
tags: 标签列表
"""
tags: List[str] = Field(default_factory=list, description="标签列表")
# --------------------------------------------------------------------------
# 会话响应 Schema(返回给前端的数据结构)
# --------------------------------------------------------------------------
+2
View File
@@ -123,6 +123,8 @@ class MessageResponse(BaseModel):
# M2 新增:消息状态和可撤回时间
status: str = "sent"
recallable_until: Optional[datetime] = None
# 服务端时间戳(毫秒)
server_timestamp: Optional[int] = None
model_config = {"from_attributes": True}