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

Method clearToken

wxapp/jingjianx_all.js:377–382  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375 }
376
377 clearToken() {
378 const cache = readCache();
379 delete cache[this.cacheKey()];
380 writeCache(cache);
381 this.token = "";
382 }
383
384 applyLogin(data = {}) {
385 this.token = data.token || "";

Callers 1

runMethod · 0.95

Calls 3

cacheKeyMethod · 0.95
readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected