!20 Merge branch 'dev' into snow

Merge pull request !20 from 王瑞雪/snow
This commit is contained in:
sophie authored and Gitee committed 2026-09-29 05:13:46 +00:00
commit 2065b73610
56 files changed
+4501 -1110

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)