From 41520782d10ac598ae46801a562e63236c0fbc4c Mon Sep 17 00:00:00 2001 From: hotyue <52734432+hotyue@users.noreply.github.com> Date: Wed, 6 May 2026 06:31:59 +0000 Subject: [PATCH] =?UTF-8?q?style(report):=20=E7=A7=BB=E9=99=A4=E6=AF=8F?= =?UTF-8?q?=E6=97=A5=E6=88=98=E6=8A=A5=E5=BA=95=E9=83=A8=E7=9A=84=20GitHub?= =?UTF-8?q?=20URL=20=E5=AE=9E=E4=BD=93=E6=8C=89=E9=92=AE=EF=BC=8C=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E9=9D=A2=E6=9D=BF=E6=B8=85=E7=88=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/tg_report.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/core/tg_report.sh b/core/tg_report.sh index dde651f..a0382c2 100755 --- a/core/tg_report.sh +++ b/core/tg_report.sh @@ -221,22 +221,18 @@ else *若本项目对您有帮助,欢迎前往 GitHub 赐予 🌟*" fi -# 5. 调用 API 推送 (接入安全网关,挂载控制台按钮与 GitHub 引流) +# 5. 调用 API 推送 (接入安全网关,挂载交互式控制台按钮) JSON_PAYLOAD=$(jq -n \ --arg cid "$CHAT_ID" \ --arg txt "$MSG" \ --arg cb "manage:${NODE_NAME}" \ - --arg repo_url "https://github.com/hotyue/IP-Sentinel" \ '{ chat_id: $cid, text: $txt, parse_mode: "Markdown", disable_web_page_preview: true, reply_markup: { - inline_keyboard: [ - [{"text": "⚙️ 调出该节点控制台", "callback_data": $cb}], - [{"text": "🌟 前往 GitHub 仓库点亮星标", "url": $repo_url}] - ] + inline_keyboard: [[{"text": "⚙️ 调出该节点控制台", "callback_data": $cb}]] } }')