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

Method removeToken

wxapp/airui.js:151–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 removeToken() {
152 const cache = readCache();
153 if (cache[this.cacheKey]) {
154 delete cache[this.cacheKey].token;
155 writeCache(cache);
156 }
157 }
158
159 async getWxCode() {
160 if (!this.openid) throw new Error("缺少 openid,无法自动登录");

Callers 1

requestWithReloginMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected