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

Method removeToken

wxapp/fuyouhui.js:162–168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 removeToken() {
163 const cache = readCache();
164 if (cache[this.cacheKey]) {
165 delete cache[this.cacheKey].token;
166 writeCache(cache);
167 }
168 }
169
170 async getWxCode() {
171 if (!this.openid) return "";

Callers 1

runMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected