From 3a280d9c7f12bef1d08d7009ca76f95fe3e8abd3 Mon Sep 17 00:00:00 2001 From: wisz2021 Date: Sat, 29 May 2021 19:08:35 +0800 Subject: [PATCH] delete author info --- sendNotify.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sendNotify.js b/sendNotify.js index 0402ffdb..dca4c6fa 100644 --- a/sendNotify.js +++ b/sendNotify.js @@ -1,15 +1,12 @@ /* - * @Author: lxk0301 https://gitee.com/lxk0301 - * @Date: 2020-08-19 16:12:40 - * @Last Modified by: lxk0301 - * @Last Modified time: 2021-4-3 16:00:54 + Last Modified time: 2021-4-3 16:00:54 */ /** * sendNotify 推送通知功能 * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } - * @param author 作者仓库等信息 例:`本脚本免费使用 By:https://gitee.com/lxk0301/jd_docker` + * @param author 作者仓库等信息 例:`本脚本免费使用 By:xxx` * @returns {Promise} */ const querystring = require("querystring"); @@ -148,10 +145,10 @@ if (process.env.PUSH_PLUS_USER) { * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } - * @param author 作者仓库等信息 例:`本脚本免费使用 By:https://gitee.com/lxk0301/jd_docker` + * @param author 作者仓库等信息 例:`本脚本免费使用 By:xxxx` * @returns {Promise} */ -async function sendNotify(text, desp, params = {}, author = '\n\n本脚本免费使用 By:https://github.com/wisz2021/jd_docker/blob/main/githubAction.md') { +async function sendNotify(text, desp, params = {}, author = '\n\n仅供用于学习') { //提供6种通知 desp += author;//增加作者信息,防止被贩卖等 await Promise.all([