Browse Source

添加木鹰云游戏签到

main
zhuzhiqing 12 months ago
parent
commit
f1f00278c4
  1. 42
      qiandao/nornal.js

42
qiandao/nornal.js

@ -106,6 +106,43 @@ class UserInfo {
console.log(`壳牌签到 签到成功,${result.Msg}`) console.log(`壳牌签到 签到成功,${result.Msg}`)
} }
} }
//云游戏签到
async doMovingcloudgame()
{
let url = `https://xcx.cdshell.com/api/userSign/userSign`
let urlObject = {
url: url,
headers: {
"Host":"www.movingcloudgame.com",
"Connection":"keep-alive",
"Content-Length":"0",
"sec-ch-ua":"\"Not;A=Brand\";v=\"99\",\"Chromium\";v=\"106\"",
"Accept":"application/json",
"X-Euclase-Channel":"lobby",
"sec-ch-ua-mobile":"?0",
"Authorization":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiIwMTkwMWYyMzUxNWEwM2U5MzE1ZDU1NmEiLCJpYXQiOjE3MTg1MDkzMjYsInN1YiI6ImF1dGhvcml6YXRpb24ifQ.sARhz0AbfvXcooqoBMeupIBBa-zrYFXEYPfRd9Pdt4I",
"User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) @cloudgaming/singlepackgame/3.2.0 Chrome/106.0.5249.199 Electron/21.4.2 Safari/537.36 @cloudgaming/singlepackgame/3.2.0",
"sec-ch-ua-platform":"\"Windows\"",
"Sec-Fetch-Site":"cross-site",
"Sec-Fetch-Mode":"cors",
"Sec-Fetch-Dest":"empty",
"Accept-Encoding":"gzip, deflate, br",
"Accept-Language":"zh-CN"
}
}
await httpRequest('post', urlObject)
let result = httpResult;
if (!result) return
//console.log(result)
if (!result.checkedIn) {
console.log(`木鹰云游戏 签到失败:${result.date}`)
} else {
console.log(`木鹰云游戏 签到成功,${result.date}`)
}
}
} }
!(async () => { !(async () => {
@ -115,8 +152,9 @@ class UserInfo {
if (!(await checkEnv())) return; if (!(await checkEnv())) return;
for (let user of userList) { for (let user of userList) {
await user.doSMGCSign(); // await user.doSMGCSign();
await user.doQPSign(); // await user.doQPSign();
await user.doMovingcloudgame();
await $.wait(200); await $.wait(200);
} }
} }

Loading…
Cancel
Save