MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / points

Method points

jlyh.js:285–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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// 变量检查与处理

Callers 1

signMethod · 0.95

Calls 4

getGetHeaderMethod · 0.95
httpRequestFunction · 0.70
DoubleLogMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected