perf: 支持企业微信群聊机器人通知

This commit is contained in:
xiaojunnuo
2024-11-23 23:58:31 +08:00
parent 5450246f06
commit b805a29259
19 changed files with 163 additions and 41 deletions
@@ -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,
},