From dc0225f1006ed4599a5e46d8490dac87e1320e31 Mon Sep 17 00:00:00 2001 From: hanhh <18330117883@163.com> Date: Thu, 27 May 2021 19:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=9A=E7=9F=A5=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sample/notify.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sample/notify.js b/sample/notify.js index 6711e8f0..b16cb60f 100644 --- a/sample/notify.js +++ b/sample/notify.js @@ -7,7 +7,7 @@ * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } - * @param author 作者仓库等信息 例:`本脚本免费使用 By:https://github.com/whyour/qinglong` + * @param author 作者仓库等信息 例:`本通知 By:https://github.com/whyour/qinglong` */ const querystring = require('querystring'); @@ -151,14 +151,14 @@ if (process.env.PUSH_PLUS_USER) { * @param text 通知头 * @param desp 通知体 * @param params 某些推送通知方式点击弹窗可跳转, 例:{ url: 'https://abc.com' } - * @param author 作者仓库等信息 例:`本脚本免费使用 By:https://github.com/whyour/qinglong` + * @param author 作者仓库等信息 例:`本通知 By:https://github.com/whyour/qinglong` * @returns {Promise} */ async function sendNotify( text, desp, params = {}, - author = '\n\n本脚本免费使用 By:https://github.com/whyour/qinglong', + author = '\n\n本通知 By:https://github.com/whyour/qinglong', ) { //提供6种通知 desp += author; //增加作者信息,防止被贩卖等