fix: 移除 textcard 通知中的 HTML 标签,企业微信客户端不支持
This commit is contained in:
@@ -30,11 +30,7 @@ class NotificationService:
|
|||||||
|
|
||||||
source_name = ann.get("source_name", "")
|
source_name = ann.get("source_name", "")
|
||||||
|
|
||||||
description = (
|
description = f"{source_name} | {purchase_name} | {time_str}"
|
||||||
f'<div style="font-size: 14px; margin-top: 8px;">'
|
|
||||||
f'{source_name} | {purchase_name} | {time_str}'
|
|
||||||
f'</div>'
|
|
||||||
)
|
|
||||||
|
|
||||||
url = ann.get("content_url", "")
|
url = ann.get("content_url", "")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user