MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / checkToken

Method checkToken

wxapp/jyxe.js:174–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 }
173
174 async checkToken() {
175 try {
176 const res = await this.request("/api/Person/index");
177 if (res.data) this.session.userInfo = res.data;
178 return true;
179 } catch (e) {
180 return false;
181 }
182 }
183
184 async doSign() {
185 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected