(data = {})
| 161 | } |
| 162 | |
| 163 | applyToken(data = {}) { |
| 164 | this.token = data.token || ""; |
| 165 | this.appOpenid = data.appOpenid || data.openid || ""; |
| 166 | this.userId = data.userId || data.id || ""; |
| 167 | this.userType = data.userType || 0; |
| 168 | this.mobile = data.mobile || ""; |
| 169 | this.currentJf = data.currentJf || 0; |
| 170 | } |
| 171 | |
| 172 | getHeaders(method, apiPath, payload) { |
| 173 | const timestamp = String(Date.now()); |
no outgoing calls
no test coverage detected