()
| 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 () => { |