MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / main

Function main

wxapp/oppo.js:299–310  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

297}
298
299async function main() {
300 $.checkEnv(CK_NAME);
301 if (!$.userCount) {
302 $.log(`未找到变量 ${CK_NAME}`);
303 return;
304 }
305 for (let i = 0; i < $.userList.length; i++) {
306 const task = new OppoTask($.userList[i], i + 1);
307 await task.run();
308 if (i < $.userList.length - 1) await $.wait(1500, 3000);
309 }
310}
311
312main()
313 .catch((e) => $.log(`脚本异常: ${e.message || e}`))

Callers 1

oppo.jsFile · 0.70

Calls 4

runMethod · 0.95
checkEnvMethod · 0.80
logMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected