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

Function start

backup/sysxc.js:35–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33//---------------------------------------------------------
34
35async function start() {
36
37 await notice()
38 console.log('\n================== 用户信息 ==================\n');
39 taskall = [];
40 for (let user of userList) {
41 if (user.ckStatus) {
42 taskall.push(await user.getVcode());
43 await $.wait(1000); //延迟 1秒 可充分利用 $.环境函数
44 }
45 }
46 await Promise.all(taskall);
47
48
49
50}
51
52
53class UserInfo {

Callers 1

sysxc.jsFile · 0.70

Calls 4

noticeFunction · 0.85
getVcodeMethod · 0.80
logMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected