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

Method checkLogin

wxapp/mfd.js:249–257  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

247 }
248
249 async checkLogin() {
250 try {
251 if (!this.groupId) await this.getIdentityInfo();
252 await this.queryMemberById();
253 return true;
254 } catch (e) {
255 return false;
256 }
257 }
258
259 async queryMemberById() {
260 const result = await this.request({

Callers 1

runMethod · 0.95

Calls 2

getIdentityInfoMethod · 0.95
queryMemberByIdMethod · 0.95

Tested by

no test coverage detected