()
| 283 | |
| 284 | //查询积分函数 |
| 285 | async points() { |
| 286 | try { |
| 287 | let options = { |
| 288 | url: `https://galaxy-app.geely.com/h5/v1/points/get`, |
| 289 | headers: this.getGetHeader(204453306, `/h5/v1/points/get`), |
| 290 | }, |
| 291 | result = await httpRequest(options); |
| 292 | if (result.code == 0) { |
| 293 | $.DoubleLog(`✅剩余积分: ${result.data.availablePoints}`); |
| 294 | } else { |
| 295 | $.DoubleLog(`❌剩余积分查询: 失败`); |
| 296 | console.log(result); |
| 297 | Notify = 1; |
| 298 | } |
| 299 | } catch (e) { |
| 300 | console.log(e); |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | // 变量检查与处理 |
no test coverage detected