Skip to content

Commit 2ed83ac

Browse files
committed
1 parent 7b7ddc6 commit 2ed83ac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎Task/txnews.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ if (isGetCookie) {
136136
await getTotal();
137137
await showmsg();
138138
if ($.isNode()){
139-
if (readnum%notifyInterval==0&&Total_Earn.data.wealth[1].title > 2){
139+
if (readnum%notifyInterval==0&&cashtotal > 2){
140140
await notify.sendNotify($.name,subTile+'\n'+detail)
141141
}
142142
}
@@ -372,7 +372,8 @@ function getTotal() {
372372
$.msg("获取收益信息失败‼️", "", error)
373373
} else {
374374
const Total_Earn = JSON.parse(data)
375-
subTile = '【收益总计】'+ Total_Earn.data.wealth[0].title +'金币 '+"钱包: " + Total_Earn.data.wealth[1].title+'元'
375+
cashtotal =Total_Earn.data.wealth[1].title
376+
subTile = '【收益总计】'+ Total_Earn.data.wealth[0].title +'金币 '+"钱包: " + cashtotal+'元'
376377
// $.log("钱包收益共计"+obj.data.wealth[1].title+"元")
377378
}
378379
resolve()

0 commit comments

Comments
 (0)