fix: 移除 textcard 通知中的 HTML 标签,企业微信客户端不支持

This commit is contained in:
2026-05-09 16:24:06 +08:00
parent 248866d73f
commit c3e06c997f
+1 -5
View File
@@ -30,11 +30,7 @@ class NotificationService:
source_name = ann.get("source_name", "")
description = (
f'<div style="font-size: 14px; margin-top: 8px;">'
f'{source_name} | {purchase_name} | {time_str}'
f'</div>'
)
description = f"{source_name} | {purchase_name} | {time_str}"
url = ann.get("content_url", "")