MCPcopy
hub / github.com/smallfawn/QLScriptPublic / task_2

Method task_2

wxapp/haitian.js:368–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

366 }
367
368 async task_2() {
369 try {
370 const result = await this.request("/members/commnity/brosing/duration/add", {
371 method: "POST",
372 params: { seconds: 10 },
373 data: {},
374 });
375 if (result?.statusCode == 200 || result?.code == 200 || result === "") {
376 $.log("浏览社区 操作成功");
377 } else {
378 $.log(`浏览社区 操作失败 貌似是正常的 [${JSON.stringify(result)}]`);
379 }
380 } catch (e) {
381 $.log(`浏览社区 操作失败 貌似是正常的 [${e.message || e}]`);
382 }
383 }
384
385 async doLottery() {
386 try {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected