refactor(api): TOML 配置 SSOT、统一错误契约、Auth/事务加固与可观测性 (#33)
配置 SSOT(TOML + .env) 统一错误契约 Auth 与事务边界 Redis / Celery 可靠性:业务 Redis(DB/0)与 Celery broker/backend(DB/1)显式拆分;连接池、sync client 可观测性(OpenTelemetry + LGTM)
This commit is contained in:
@@ -41,7 +41,7 @@ class TestSubscriptionResponse(BaseModel):
|
||||
class SubmitFeedbackRequest(BaseModel):
|
||||
"""提交反馈请求"""
|
||||
|
||||
content: str = Field(..., min_length=1, max_length=2000, description="反馈内容")
|
||||
content: str = Field(min_length=1, max_length=2000, description="反馈内容")
|
||||
contact: Optional[str] = Field(None, max_length=100, description="联系方式(可选)")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user