调整部分脚本通知频率, 运行无京豆不进行通知
This commit is contained in:
@@ -96,7 +96,7 @@ async function jd_necklace() {
|
||||
function showMsg() {
|
||||
return new Promise(async resolve => {
|
||||
let nowTimes = new Date(new Date().getTime() + new Date().getTimezoneOffset()*60*1000 + 8*60*60*1000);
|
||||
if (nowTimes.getHours() >= 20) {
|
||||
if (nowTimes.getHours() >= 20 && $.totalScore >= 10000) {
|
||||
$.msg($.name, '', `京东账号${$.index} ${$.nickName}\n当前${$.name}:${$.totalScore}个\n可兑换无门槛红包:${$.totalScore / 1000}元\n点击弹窗即可去兑换(注:此红包具有时效性)`, { 'open-url': openUrl});
|
||||
}
|
||||
// 云端大于10元无门槛红包时进行通知推送
|
||||
|
Reference in New Issue
Block a user