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

Method getTreadList

wxapp/iqoo.js:356–372  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 }
355
356 async getTreadList() {
357 try {
358 const result = await this.request("v3/thread.list", {
359 scope: 5,
360 page: 1,
361 perPage: 10,
362 "filter[sort]": 4,
363 "filter[essence]": 1,
364 sequence: 0,
365 }, { method: "GET" });
366 const first = result?.Data?.pageData?.[0] || {};
367 this.threadId = first.threadId || "";
368 this.postId = first.postId || "";
369 } catch (e) {
370 $.log(`账号[${this.index}] 获取帖子列表失败:${e.message || e}`);
371 }
372 }
373}
374
375!(async () => {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected