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

Method activityIndex

wxapp/mxbc.js:341–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

339 }
340 }
341 async activityIndex() {
342 try {
343 const opts = {
344 url: this.activityOrigin + "/chome/index",
345 params: {
346 from: "login",
347 spm: "76177.1.1.1"
348 },
349 headers: {
350 'Cookie': this.session,
351
352 'User-Agent': `Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X)mxsa_mxbc`,
353 }
354 }
355
356 await axios.request(opts);
357 $.log(`✅ 访问雪王铺:调用成功!`);
358 } catch (e) {
359
360 $.log(`⛔️ 访问雪王铺:调用失败!${e}`);
361 }
362 }
363 async task_signin() {
364 try {
365 let time = Date.now()

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected