MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / essay_list

Method essay_list

ruilanCar.js:77–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 return result
76 }
77 async essay_list() {
78 let result = await this.taskRequest("get", `https://api-gateway.livanauto.com/app/v1.0/appapi/content/subject/appSubject?current=1&subjectId=36&essayCurrent=1&pageSize=20`)
79 if (result.code == 0) {
80 for (let art of result.data.records[0].essay) {
81 this.essayList.push({ id: art.essayId, text: art.title })
82 }
83
84 }
85 }
86
87 async content_list() {
88 let result = await this.taskRequest("get", `https://api-gateway.livanauto.com/app/v1.0/appapi/content/content/pageBetter?current=1&size=10&createBy&timestamp=${Date.now()}`)

Callers 1

mainMethod · 0.95

Calls 1

taskRequestMethod · 0.95

Tested by

no test coverage detected