diff --git a/README.md b/README.md index ec04f643..fe914fba 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,7 @@ ### 1. Docker -- [部署方法](./docker) +- [部署方法](./docker/Readme.md) - [环境变量集合](./githubAction.md) diff --git a/sendNotify.js b/sendNotify.js index 20f3abba..845d12f9 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -4,6 +4,14 @@ * @Last Modified by: lxk0301 * @Last Modified time: 2021-3-29 11:52:54 */ +/** + * sendNotify 推送通知功能 + * @param text 通知头 + * @param desp 通知体 + * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } + * @param author 作者仓库等信息 例:`本脚本免费使用 By:https://gitee.com/lxk0301/jd_docker` + * @returns {Promise} + */ const querystring = require("querystring"); const $ = new Env(); // =======================================微信server酱通知设置区域=========================================== @@ -135,7 +143,7 @@ if (process.env.PUSH_PLUS_USER) { //==========================云端环境变量的判断与接收========================= /** - * 推送通知功能 + * sendNotify 推送通知功能 * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' }