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

Method task_like

ruilanCar.js:112–115  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

110 result.code == 0 ? (result.data.result == true ? $.log(`分享成功`) : $.log(`分享失败`)) : $.log(`分享失败`)
111 }
112 async task_like(id) {
113 let result = await this.taskRequest(`post`, `https://api-gateway.livanauto.com/app/v1.0/appapi/content/contentthumbs/thumb`, { "contentId": id })
114 result.code == 0 ? (result.data.result == true ? $.log(`点赞成功`) : $.log(`点赞失败`)) : $.log(`点赞失败`)
115 }
116}
117
118async function start() {

Callers 1

mainMethod · 0.95

Calls 2

taskRequestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected