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

Method run

wxapp/hezj.js:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 async run() {
95 await this.loginByWxCode();
96 if (!this.token) return;
97 await this.pointInfo()
98 await this.signIn()
99 }
100
101 async getLoginCode() {
102 if (!process.env.wx_auth) throw new Error("缺少 wx_auth,无法从 wx_server 获取 code");

Callers 1

hezj.jsFile · 0.45

Calls 3

loginByWxCodeMethod · 0.95
pointInfoMethod · 0.95
signInMethod · 0.95

Tested by

no test coverage detected