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

Method content_list

ruilanCar.js:87–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()}`)
89 if (result.code == 0) {
90 for (let art of result.data.records) {
91 if (art.thumb == false) {
92 this.contentList.push({ id: art.contentId, text: art.contentDesc })
93 }
94 }
95 }
96 }
97
98 async user_info() {
99 let result = await this.taskRequest("get", `https://api-gateway.livanauto.com/app/v1.0/appapi/common/user/getUserToFml`)

Callers 1

mainMethod · 0.95

Calls 1

taskRequestMethod · 0.95

Tested by

no test coverage detected