()
| 251 | } |
| 252 | |
| 253 | async checkToken() { |
| 254 | try { |
| 255 | await this.ensureIntegralAccount(true); |
| 256 | return true; |
| 257 | } catch (e) { |
| 258 | return false; |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | async ensureIntegralAccount(silent = false) { |
| 263 | const data = await this.request("/activity/common/queryIntegralSystemList", { |
no test coverage detected