feat: add wehchat template message push

This commit is contained in:
engigu
2024-03-05 14:42:12 +08:00
parent 32c1c8ad76
commit 4388d08109
16 changed files with 277 additions and 24 deletions
+3
View File
@@ -16,6 +16,9 @@ class ApiStrGenerate {
if (options.markdown) {
data.markdown = '**Hello World!**';
}
if (options.url) {
data.url = 'https://github.com';
}
let dataStr = JSON.stringify(data, null, 4);
return dataStr
}