From 4d54bb5c0a362016c5d810e080ee3e112c43939f Mon Sep 17 00:00:00 2001 From: Best <47924389+Sunert@users.noreply.github.com> Date: Tue, 5 Jan 2021 09:04:28 +0800 Subject: [PATCH] Update youth.js --- Task/youth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Task/youth.js b/Task/youth.js index 844af64874..40b56754a8 100644 --- a/Task/youth.js +++ b/Task/youth.js @@ -203,7 +203,7 @@ if (rotaryres.status !== 0&&rotaryres.data.doubleNum !== 0){ await earningsInfo(); await showmsg(); if ($.isNode()&&rotaryres.code !== '10010') - if( rotarytimes && rotarytimes%95 == 0 && cash >= 10){ + if( rotarytimes && (100-rotarytimes)%95 == 0 && cash >= 10){ await notify.sendNotify($.name + " " + nick, "您的余额约为"+cash+"元,已可以提现"+'\n'+`【收益总计】${signinfo.data.user.score}青豆 现金约${cash}元\n${detail}`) } }