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

Method share

daily/xinxi.js:103–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101
102 }
103 async share() {
104 let options = {
105 method: 'GET',
106 url: `https://api.xinc818.com/mini/dailyTask/share`,
107 headers: {
108 "Content-Type": "application/json",
109 },
110 };
111 let { data: result } = await this.request(options);
112 if (result.code == 0) {
113 $.log(`✅账号[${this.index}] 完成分享成功 获得【${result.data.singleReward}】`)
114 } else {
115 console.log(`❌账号[${this.index}] 完成分享失败`);
116 console.log(result);
117 }
118
119 }
120 async tasklist() {
121 let options = {
122 method: 'GET',

Callers 1

tasklistMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected