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

Method login

wxapp/qiaqia.js:155–164  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 async login() {
156 try {
157 await this.loginUpms();
158 await this.loginMobile();
159 this.saveCachedToken();
160 $.log(`账号[${this.index}] 登录成功`);
161 } catch (e) {
162 $.log(`账号[${this.index}] 登录失败: ${e.message || e}`);
163 }
164 }
165
166 async loginUpms() {
167 const code = await this.getLoginCode();

Callers 1

runMethod · 0.95

Calls 4

loginUpmsMethod · 0.95
loginMobileMethod · 0.95
saveCachedTokenMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected