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

Method checkToken

wxapp/jingyoujia.js:191–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

189 }
190
191 async checkToken() {
192 try {
193 await this.request({ apiPath: "/app/jingyoujia/customer/detail" });
194 return true;
195 } catch (e) {
196 return false;
197 }
198 }
199
200 async getCustomerDetails() {
201 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected