()
| 249 | } |
| 250 | |
| 251 | async checkToken() { |
| 252 | try { |
| 253 | if (!this.userId) return false; |
| 254 | await this.request("v3/user", { userId: this.userId }, { method: "GET" }); |
| 255 | return true; |
| 256 | } catch (e) { |
| 257 | return false; |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | async userInfoRequest() { |
| 262 | if (!this.userId) return; |