(data = {})
| 150 | } |
| 151 | |
| 152 | applyToken(data = {}) { |
| 153 | this.token = data.accessToken || data.token || ""; |
| 154 | this.refreshToken = data.refreshToken || ""; |
| 155 | this.userId = data.userId || data.uid || data.userInfo?.userId || data.userInfo?.uid || ""; |
| 156 | this.userInfo = data.userInfo || data.user || {}; |
| 157 | this.visitor = data.visitor || this.visitor; |
| 158 | } |
| 159 | |
| 160 | queryString(data = {}) { |
| 161 | const list = []; |