MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / start

Function start

gqftbz.js:63–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61//---------------------------------------------------------
62
63async function start() {
64 //await getVersion("smallfawn/QLScriptPublic/main/gqft.js");
65 log('todoList:CK改变了 修复CK时效短 and CK失效快 的问题 修复refreshToken已改变问题\nupdate:IOS适配 尽可能青龙高版本适配')
66 log("tips:可能有未知的BUG,如果遇到请截图和发送自己的CK给github lssues或者加群发给管理")
67 log(`\n====== 当前版本:${scriptVersionNow} 📌 最新版本:${scriptVersionLatest} ======`);
68 //await getNotice();
69 taskall = [];
70 /*for (let user of userList) {
71 //taskall.push(await user.getToken());
72 await $.wait(1000);
73 }
74 await Promise.all(taskall);*/
75 taskall = [];
76 for (let user of userList) {
77 if (user.ckStatus) {
78 taskall.push(await user.decrypt());
79 await $.wait(1000);
80 }
81 }
82 await Promise.all(taskall);
83 log("\n================== 用户信息 ==================\n");
84 taskall = [];
85 for (let user of userList) {
86 if (user.ckStatus) {
87 taskall.push(await user.user_info());
88 await $.wait(1000);
89 }
90 }
91 await Promise.all(taskall);
92
93 log("\n================== 执行任务 ==================\n");
94 taskall = [];
95 for (let user of userList) {
96 if (user.ckStatus) {
97 taskall.push(await user.task_signin());
98 await $.wait(1000);
99 }
100 }
101 await Promise.all(taskall);
102 taskall = [];
103 for (let user of userList) {
104 if (user.ckStatus) {
105 taskall.push(await user.art_list());
106 await $.wait(1000);
107 }
108 }
109 await Promise.all(taskall);
110}
111
112class UserInfo {
113 constructor(str) {

Callers 1

gqftbz.jsFile · 0.70

Calls 5

decryptMethod · 0.45
waitMethod · 0.45
user_infoMethod · 0.45
task_signinMethod · 0.45
art_listMethod · 0.45

Tested by

no test coverage detected