From 387c31b488a23032b7408685d31c6beb82162b3a Mon Sep 17 00:00:00 2001 From: Teror Fox Date: Sat, 22 Mar 2025 15:36:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(notification-providers):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=20PushPlus=20=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 post 请求中的 "pushPlusSendToken" 参数名称修改为 "pushPlusSendKey" - 此修改解决了 PushPlus 接口调用时的参数名称错误问题 --- server/notification-providers/pushplus.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/notification-providers/pushplus.js b/server/notification-providers/pushplus.js index cb062a9e0..d76d2273e 100644 --- a/server/notification-providers/pushplus.js +++ b/server/notification-providers/pushplus.js @@ -14,7 +14,7 @@ class PushPlus extends NotificationProvider { const url = `https://www.pushplus.plus/send`; try { await axios.post(url, { - "token": notification.pushPlusSendToken, + "token": notification.pushPlusSendKey, "title": this.checkStatus(heartbeatJSON, monitorJSON), "content": msg, "template": "html"