mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 02:48:44 +08:00
Update sendNotify.js
This commit is contained in:
parent
bc8b768d54
commit
1c339a4875
@ -20,7 +20,7 @@ export CKNOWARNERROR="true"
|
|||||||
## 屏蔽青龙登陆成功通知,登陆失败不屏蔽
|
## 屏蔽青龙登陆成功通知,登陆失败不屏蔽
|
||||||
export NOTIFY_NOLOGINSUCCESS="true"
|
export NOTIFY_NOLOGINSUCCESS="true"
|
||||||
## 通知底部显示
|
## 通知底部显示
|
||||||
export NOTIFY_AUTHOR="来源于:https://github.com/KingRan/KR"
|
export NOTIFY_AUTHOR="来源于:https://github.com/shufflewzc/faker2"
|
||||||
## 增加NOTIFY_AUTHOR_BLANK 环境变量,控制不显示底部信息
|
## 增加NOTIFY_AUTHOR_BLANK 环境变量,控制不显示底部信息
|
||||||
export NOTIFY_AUTHOR_BLANK="true"
|
export NOTIFY_AUTHOR_BLANK="true"
|
||||||
## 增加NOTIFY_AUTOCHECKCK为true才开启通知脚本内置的自动禁用过期ck
|
## 增加NOTIFY_AUTOCHECKCK为true才开启通知脚本内置的自动禁用过期ck
|
||||||
@ -200,7 +200,7 @@ if (process.env.NOTIFY_SHOWNAMETYPE) {
|
|||||||
if (ShowRemarkType == "4")
|
if (ShowRemarkType == "4")
|
||||||
console.log("检测到显示备注名称,格式为: 备注");
|
console.log("检测到显示备注名称,格式为: 备注");
|
||||||
}
|
}
|
||||||
async function sendNotify(text, desp, params = {}, author = '\n\n本通知 By https://github.com/KingRan/KR',strsummary="") {
|
async function sendNotify(text, desp, params = {}, author = '\n\n本通知 By https://github.com/shufflewzc/faker2',strsummary="") {
|
||||||
console.log(`开始发送通知...`);
|
console.log(`开始发送通知...`);
|
||||||
|
|
||||||
if (process.env.NOTIFY_FILTERBYFILE) {
|
if (process.env.NOTIFY_FILTERBYFILE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user