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

Method removeToken

wxapp/junpinhui.js:205–211  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

203 }
204
205 removeToken() {
206 const cache = readCache();
207 if (cache[this.cacheKey]) {
208 delete cache[this.cacheKey].token;
209 writeCache(cache);
210 }
211 }
212
213 async getWxCode() {
214 if (!this.openid) throw new Error("缺少 openid,无法自动登录");

Callers 1

withReloginMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected