fix: report

This commit is contained in:
HTEWJ\26070045 committed 2026-09-09 14:19:41 +08:00
1 parent 07e83132c0
commit 4445ff68d4
46 files changed
+3904 -897

No files matched your search

+4
View File
@@ -130,4 +130,8 @@ class GeneralFeedback(Base):
feedback_module: Mapped[str] = mapped_column(String(32), nullable=False)
content: Mapped[str] = mapped_column(Text, nullable=False)
source_page: Mapped[Optional[str]] = mapped_column(String(32))
# 处理状态:pending=待处理,closed=已关闭(数据分析卡片用;默认待处理)
status: Mapped[str] = mapped_column(String(20), default='pending', nullable=False, index=True)
# 关闭时间:记录何时被处理/关闭,用于「本月已关闭」统计
closed_at: Mapped[Optional[datetime]] = mapped_column(DateTime, nullable=True)
created_at: Mapped[datetime] = mapped_column(default=datetime.utcnow, index=True)