Skip to content

Commit f5017bf

Browse files
freemankevinclaude
andcommitted
chore(notify): 关闭钉钉卡片底部「查看详情」链接
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent c83e920 commit f5017bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/notifiers/dingtalk.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def _fmt_version(val):
9595
soft_truncated=soft_truncated,
9696
sep="\n---\n",
9797
)
98-
footer = f"\n\n[查看详情]({report.details_url})"
99-
full_text = f"{head_block}\n---\n{body}{footer}".rstrip()
98+
# footer = f"\n\n[查看详情]({report.details_url})" # 已关闭:钉钉卡片不再展示「查看详情」链接
99+
full_text = f"{head_block}\n---\n{body}".rstrip()
100100

101101
return {
102102
"msgtype": "markdown",

0 commit comments

Comments
 (0)