perf: 新增server酱3通知

This commit is contained in:
xiaojunnuo
2024-12-03 10:32:47 +08:00
parent 393ea27fa4
commit 6aa487269c
17 changed files with 86 additions and 19 deletions
@@ -2,7 +2,7 @@ import { BaseNotification, IsNotification, NotificationBody, NotificationInput }
@IsNotification({
name: 'serverchan',
title: 'Server酱',
title: 'Server酱',
desc: 'https://sct.ftqq.com/',
needPlus: true,
})
@@ -64,7 +64,7 @@ export class ServerChanNotification extends BaseNotification {
method: 'POST',
data: {
text: body.title,
desp: body.content + '[查看详情](' + body.url + ')',
desp: body.content + '\n\n[查看详情](' + body.url + ')',
},
skipSslVerify: this.skipSslVerify,
});