增加奖励领取

This commit is contained in:
yml2213
2022-05-29 21:54:14 +08:00
parent 3131ee5f1c
commit 31d2b11274
+6 -3
View File
@@ -90,10 +90,13 @@ async function start() {
await $.wait(3 * 1000);
console.log("\n开始 用户信息");
await user_info()
await user_info();
await $.wait(3 * 1000);
await invitation_Reward();
await $.wait(3 * 1000);
}
}
@@ -453,8 +456,8 @@ async function invitation_Reward() {
let result = await httpRequest(options, `领取邀请奖励`);
if (result.error_code === 0) {
console.log(` 领取邀请奖励:成功了 ,获得 ${result.userInfo.credit} 爱豆`);
msg += `\n 领取邀请奖励:成功了 ,获得 ${result.userInfo.credit} 爱豆`;
console.log(` 领取邀请奖励:成功了`);
msg += `\n 领取邀请奖励:成功了`;
} else if (result.error_code === 1) {
console.log(` 领取邀请奖励: ${result.error_message}`);
msg += `\n 领取邀请奖励: ${result.error_message}`;