()
| 275 | } |
| 276 | |
| 277 | loadCache() { |
| 278 | const cached = this.getCached(); |
| 279 | this.token = this.token || cached.token || ""; |
| 280 | this.userId = this.userId || cached.userId || ""; |
| 281 | this.vipOpenid = this.vipOpenid || cached.vipOpenid || ""; |
| 282 | this.unionid = this.unionid || cached.unionid || ""; |
| 283 | this.marsCid = this.account.marsCid || cached.marsCid || this.marsCid; |
| 284 | } |
| 285 | |
| 286 | async getVipWechatInfo(code) { |
| 287 | const data = { ...this.baseData(), code, iv: "", encryptedData: "", hash: HASH }; |