Collect authenticated Qinglong scripts batch

This commit is contained in:
Hermes Agent
2026-05-24 03:53:42 +00:00
parent 0d80b33d25
commit 28d62fef03
86 changed files with 18420 additions and 5 deletions

View File

@@ -0,0 +1,37 @@
// # Source: https://github.com/Wenmoux/checkbox/blob/master/scripts/Qoo.js
// # Raw: https://raw.githubusercontent.com/Wenmoux/checkbox/master/scripts/Qoo.js
// # Repo: Wenmoux/checkbox
// # Path: scripts/Qoo.js
// # UploadedAt: 2021-10-10T06:20:09Z
// # SHA256: d538c7cb1f22866224e5a1db8be4d8450e58f12b1a583c705a319ea2e59bef4a
// # Category: APP版/抓包
// # Evidence: cookie/token/authorization/header
//
//Qoo app 个人中心转蛋 没啥用
const axios = require("axios");
function task() {
return new Promise(async (resolve) => {
try {
let token = config.Qoo.token;
await axios.post(`https://api.qoo-app.com/v9/usercard/setcardshare?token=${token}`)
let url = `https://api.qoo-app.com/v9/usercard/signincard?token=${token}`;
let res = await axios.post(url);
if (res.data.code == 200) {
msg = `签到成功✅ 当前共${res.data.data.point}转蛋券`;
if(res.data.data.ret==1) console.log(`签到成功!今日获得${res.data.data.add}`)
} else {
msg = JSON.stringify(res.data);
}
console.log(msg);
} catch (err) {
msg = "签到接口请求出错";
console.log(err);
}
resolve("【Qoo】"+msg );
});
}
module.exports = task;