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

Function runAccount

wxapp/fhxmh.js:162–172  ·  view source on GitHub ↗
(openid, index)

Source from the content-addressed store, hash-verified

160}
161
162async function runAccount(openid, index) {
163 $.log(`\n========== ${APP.name} 账号[${index}] ${openid} ==========`);
164 const runner = new FeiheMom(openid);
165 try {
166 $.log(`登录:${await runner.login()}`);
167 $.log(`查询:${await runner.query()}`);
168 $.log(`签到:${await runner.sign()}`);
169 } catch (e) {
170 $.log(`执行失败:${e.message || e}`);
171 }
172}
173
174(async () => {
175 const accounts = (process.env[CK_NAME] || DEFAULT_OPENID || "")

Callers 1

fhxmh.jsFile · 0.70

Calls 4

loginMethod · 0.95
queryMethod · 0.95
signMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected