Skip to content

Commit

Permalink
fix: 应为cookiesArr,而不是$.cookiesArr
Browse files Browse the repository at this point in the history
  • Loading branch information
fzls committed Dec 12, 2021
1 parent 7f913ae commit ff949bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jd_bean_change_new.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ if ($.isNode()) {
}

if ($.isNode() && allMessage != '') {
if (($.cookiesArr.length - ($.sentNum * args_xh.sendNum)) < args_xh.sendNum) {
console.log(`正在进行最后一次发送通知,发送数量:${($.cookiesArr.length - ($.sentNum * args_xh.sendNum))}`)
if ((cookiesArr.length - ($.sentNum * args_xh.sendNum)) < args_xh.sendNum) {
console.log(`正在进行最后一次发送通知,发送数量:${(cookiesArr.length - ($.sentNum * args_xh.sendNum))}`)
await notify.sendNotify(`${$.name}`, `${allMessage}`, { url: `https://bean.m.jd.com/beanDetail/index.action?resourceValue=bean` })
allMessage = "";
}
Expand Down

0 comments on commit ff949bb

Please sign in to comment.