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

Method main

ruilanCar.js:25–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 this.essayList = []
24 }
25 async main() {
26 await this.user_info()
27 if (this.ckStatus == true) {
28 await this.content_list();
29 //console.log(this.contentList)
30 if (this.contentList.length > 0) {
31 for (let i = 0; i < 5; i++) {
32 await this.task_like(this.contentList[0].id)
33 }
34 }
35 await this.essay_list()
36 if (this.essayList.length > 0) {
37 for (let i = 0; i < 5; i++) {
38 await this.task_share(this.essayList[i].id)
39
40 }
41 }
42 }
43
44 }
45 async taskRequest(method, url, body = "") {
46 //
47 let headers = {

Callers 1

startFunction · 0.45

Calls 5

user_infoMethod · 0.95
content_listMethod · 0.95
task_likeMethod · 0.95
essay_listMethod · 0.95
task_shareMethod · 0.95

Tested by

no test coverage detected