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

Method checkToken

wxapp/zbs.js:197–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

195 }
196
197 async checkToken() {
198 try {
199 await this.request("user/getUserIntegral", {
200 data: { userId: this.userId },
201 });
202 return true;
203 } catch (e) {
204 return false;
205 }
206 }
207
208 async getPoints(prefix = "当前") {
209 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected