mirror of
https://github.com/certd/certd.git
synced 2026-04-23 19:57:27 +08:00
perf: 支持企业微信群聊机器人通知
This commit is contained in:
@@ -42,9 +42,10 @@ export class QywxNotification extends BaseNotification {
|
||||
|
||||
await this.http.request({
|
||||
url: this.webhook,
|
||||
method: 'POST',
|
||||
data: {
|
||||
msgtype: 'markdown',
|
||||
text: {
|
||||
markdown: {
|
||||
content: `# ${body.title}\n\n${body.content}\n[查看详情](${body.url})`,
|
||||
mentioned_list: this.mentionedList,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user