()
| 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 获取运行数据"); |
nothing calls this directly
no test coverage detected