shawenguan 1 year ago
parent
commit
74df48175e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Scripts/quark/quarkHelper.js

+ 1 - 1
Scripts/quark/quarkHelper.js

@@ -169,7 +169,7 @@ async function signIn(cookie){
             const body = response.body;
             magicJS.logger.log(JSON.stringify(body));
             if(body.code == 0){
-                let amount = Math.floor(body.data.sign_daily_reward / 2048);
+                let amount = Math.floor(body.data.sign_daily_reward / (1024 * 1024));
                 magicJS.logger.info(`- 签到成功,获取到${amount}MB!`);
                 magicJS.notification.appendNotifyInfo(`🎉签到成功,获取到${amount}MB!`);
                 return amount;