更新 'test.js'

This commit is contained in:
陶林 2023-06-24 01:16:07 +08:00
parent 867321938c
commit 1b66b551b2

16
test.js
View File

@ -0,0 +1,16 @@
const notify = require('./sendNotify')
/**
* sendNotify 推送通知功能
* @param text 通知头
* @param desp 通知体
* @param params 某些推送通知方式点击弹窗可跳转, { url: 'https://abc.com' }
* @param author 作者仓库等信息 `本通知 Byhttps://github.com/whyour/qinglong`
* @returns {Promise<unknown>}
*/
async function main(){
console.log("main");
await notify.sendNotify("测试通知", "aaa")
}
main();