From 0a14e90f8a426debecf054d594df641e5d185881 Mon Sep 17 00:00:00 2001 From: kubbo <390378816@qq.com> Date: Sat, 14 Dec 2024 18:35:01 +0800 Subject: [PATCH] =?UTF-8?q?fix(chuanqi=5Fserver=5Fjenkins):=20=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=20Telegram=20API=20URL=20=E4=B8=AD=E7=9A=84=E5=A4=9A?= =?UTF-8?q?=E4=BD=99=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了 Telegram API URL 中不必要的 key 参数 -优化了 Jenkinsfile 中的 curl命令,提高了代码的可读性和效率 --- chuanqi_server_jenkins | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chuanqi_server_jenkins b/chuanqi_server_jenkins index e65b033..d2c4071 100644 --- a/chuanqi_server_jenkins +++ b/chuanqi_server_jenkins @@ -29,7 +29,7 @@ pipeline { success { echo 'Deployment finished successfully.' sh """ - curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage?key=1e734bc6-ab12-4272-8b15-cf92cb070f5b' \\ + curl 'https://api.telegram.org/bot7816434196:AAFtmbUYpUIwcb_SvBnJY0guPIOLCxp2a5s/sendMessage' \\ -H 'Content-Type: application/json' \\ -d '{ "chat_id": "6779541681",