diff --git a/test.js b/test.js index e69de29..7fa1b1c 100644 --- a/test.js +++ b/test.js @@ -0,0 +1,16 @@ +const notify = require('./sendNotify') + +/** + * sendNotify 推送通知功能 + * @param text 通知头 + * @param desp 通知体 + * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } + * @param author 作者仓库等信息 例:`本通知 By:https://github.com/whyour/qinglong` + * @returns {Promise} + */ + + async function main(){ + console.log("main"); + await notify.sendNotify("测试通知", "aaa") + } + main(); \ No newline at end of file