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

Method removeTicket

wxapp/ctrip.js:219–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217 }
218
219 removeTicket() {
220 const cache = readCache();
221 if (cache[this.cacheKey]) {
222 delete cache[this.cacheKey].ticket;
223 writeCache(cache);
224 }
225 }
226
227 async getOperateData() {
228 if (!this.openid) throw new Error("缺少 openid,无法从 wx_server 获取运行数据");

Callers

nothing calls this directly

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected