()
| 247 | } |
| 248 | |
| 249 | async checkLogin() { |
| 250 | try { |
| 251 | if (!this.groupId) await this.getIdentityInfo(); |
| 252 | await this.queryMemberById(); |
| 253 | return true; |
| 254 | } catch (e) { |
| 255 | return false; |
| 256 | } |
| 257 | } |
| 258 | |
| 259 | async queryMemberById() { |
| 260 | const result = await this.request({ |
no test coverage detected