mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 19:32:34 +02:00
fix(notification): 修正 PushPlusPlus 通知提供商的令牌使用错误
- 将 axios.post 请求的 URL 从 notification.pushPlusPlusToken 修改为 notification.PushPlusPlusToken - 更新通知设置中的 PushPlusPlus 显示名称,使其首字母大写 - 在中文语言文件中添加 PushPlusPlus Token 相关翻译
This commit is contained in:
parent
c7b8055cdc
commit
10fe953b52
5 changed files with 8 additions and 5 deletions
|
@ -9,7 +9,7 @@ class PushPlusPlus extends NotificationProvider {
|
||||||
const okMsg = "Sent Successfully.";
|
const okMsg = "Sent Successfully.";
|
||||||
const url = `https://pushplus.plus/send`;
|
const url = `https://pushplus.plus/send`;
|
||||||
try {
|
try {
|
||||||
await axios.post(notification.pushPlusPlusToken, {
|
await axios.post(notification.PushPlusPlusToken, {
|
||||||
"title": this.checkStatus(heartbeatJSON, monitorJSON),
|
"title": this.checkStatus(heartbeatJSON, monitorJSON),
|
||||||
"content": msg,
|
"content": msg,
|
||||||
});
|
});
|
||||||
|
|
|
@ -117,7 +117,7 @@ const NotificationFormList = {
|
||||||
"PushByTechulus": TechulusPush,
|
"PushByTechulus": TechulusPush,
|
||||||
"PushDeer": PushDeer,
|
"PushDeer": PushDeer,
|
||||||
"pushover": Pushover,
|
"pushover": Pushover,
|
||||||
"pushplusplus": PushPlusPlus,
|
"PushPlusPlus": PushPlusPlus,
|
||||||
"pushy": Pushy,
|
"pushy": Pushy,
|
||||||
"rocket.chat": RocketChat,
|
"rocket.chat": RocketChat,
|
||||||
"serwersms": SerwerSMS,
|
"serwersms": SerwerSMS,
|
||||||
|
|
|
@ -1100,5 +1100,6 @@
|
||||||
"RabbitMQ Nodes": "RabbitMQ 管理节点",
|
"RabbitMQ Nodes": "RabbitMQ 管理节点",
|
||||||
"Separate multiple email addresses with commas": "用逗号分隔多个电子邮件地址",
|
"Separate multiple email addresses with commas": "用逗号分隔多个电子邮件地址",
|
||||||
"rabbitmqHelpText": "要使用此监控项,您需要在 RabbitMQ 设置中启用管理插件。有关更多信息,请参阅 {rabitmq_documentation}。",
|
"rabbitmqHelpText": "要使用此监控项,您需要在 RabbitMQ 设置中启用管理插件。有关更多信息,请参阅 {rabitmq_documentation}。",
|
||||||
"aboutSlackUsername": "更改消息发件人的显示名称。如果您想提及某人,请另行将其包含在友好名称中。"
|
"aboutSlackUsername": "更改消息发件人的显示名称。如果您想提及某人,请另行将其包含在友好名称中。",
|
||||||
|
"PushPlusPlus Token": "PushPlusPlus Token"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1085,5 +1085,6 @@
|
||||||
"cellsyntOriginator": "在收件人處作為消息發送者顯示。允許的內容取決於發件人類型。",
|
"cellsyntOriginator": "在收件人處作為消息發送者顯示。允許的內容取決於發件人類型。",
|
||||||
"cellsyntDestination": "收件人的手機號碼需要使用以 00+國家代碼開頭的國際通用格式,例如若要發給英國的號碼 07920 110 000 需使用 00447920110000 作為收件人手機號碼(至多17位數)。需發送給多個收件人手機號碼時可使用英文逗號分隔,每次請求最 多250 00個收件人手機號碼。",
|
"cellsyntDestination": "收件人的手機號碼需要使用以 00+國家代碼開頭的國際通用格式,例如若要發給英國的號碼 07920 110 000 需使用 00447920110000 作為收件人手機號碼(至多17位數)。需發送給多個收件人手機號碼時可使用英文逗號分隔,每次請求最 多250 00個收件人手機號碼。",
|
||||||
"threemaRecipient": "收件人",
|
"threemaRecipient": "收件人",
|
||||||
"threemaRecipientTypeIdentityFormat": "8 位字符"
|
"threemaRecipientTypeIdentityFormat": "8 位字符",
|
||||||
|
"PushPlusPlus Token": "PushPlusPlus Token"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1085,5 +1085,6 @@
|
||||||
"conditionValuePlaceholder": "值",
|
"conditionValuePlaceholder": "值",
|
||||||
"Separate multiple email addresses with commas": "用逗號分隔多個電子郵件地址",
|
"Separate multiple email addresses with commas": "用逗號分隔多個電子郵件地址",
|
||||||
"record": "記錄",
|
"record": "記錄",
|
||||||
"New Group": "新分組"
|
"New Group": "新分組",
|
||||||
|
"PushPlusPlus Token": "PushPlusPlus Token"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue