delete author info

This commit is contained in:
wisz2021
2021-05-29 19:08:35 +08:00
parent 74776d6d28
commit 3a280d9c7f

View File

@ -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 作者仓库等信息 例:`本脚本免费使用 Byhttps://gitee.com/lxk0301/jd_docker`
* @param author 作者仓库等信息 例:`本脚本免费使用 Byxxx`
* @returns {Promise<unknown>}
*/
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 作者仓库等信息 例:`本脚本免费使用 Byhttps://gitee.com/lxk0301/jd_docker`
* @param author 作者仓库等信息 例:`本脚本免费使用 Byxxxx`
* @returns {Promise<unknown>}
*/
async function sendNotify(text, desp, params = {}, author = '\n\n本脚本免费使用 Byhttps://github.com/wisz2021/jd_docker/blob/main/githubAction.md') {
async function sendNotify(text, desp, params = {}, author = '\n\n仅供用于学习') {
//提供6种通知
desp += author;//增加作者信息,防止被贩卖等
await Promise.all([