()
| 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 ""; |
no test coverage detected