()
| 162 | } |
| 163 | |
| 164 | async getCode() { |
| 165 | const res = await this.wechat.getCode(this.account); |
| 166 | const data = res?.data; |
| 167 | return data?.data?.code || data?.code || data?.data || data; |
| 168 | } |
| 169 | |
| 170 | async login() { |
| 171 | const code = await this.getCode(); |
no outgoing calls
no test coverage detected