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

Function runAccount

wxapp/mimengshenghuo.js:371–379  ·  view source on GitHub ↗
(openid, index)

Source from the content-addressed store, hash-verified

369}
370
371async function runAccount(openid, index) {
372 $.log(`\n========== ${APP.name} 账号[${index}] ${openid} ==========`);
373 const runner = new Mimeng(openid, index);
374 try {
375 await runner.run();
376 } catch (e) {
377 $.log(`账号[${index}] 执行失败:${e.message || e}`);
378 }
379}
380
381(async () => {
382 const accounts = splitAccounts(process.env[CK_NAME] || DEFAULT_OPENID || "");

Callers 1

mimengshenghuo.jsFile · 0.70

Calls 2

runMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected