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

Method postsComments

daily/xinxi.js:174–188  ·  view source on GitHub ↗
(postsId)

Source from the content-addressed store, hash-verified

172
173 }
174 async postsComments(postsId) {
175 let options = {
176 method: 'POST',
177 url: `https://api.xinc818.com/mini/postsComments`,
178 headers: {
179 "Content-Type": "application/json",
180 },
181 data: { "content": "666", "postsId": postsId }
182
183 };
184 let { data: result } = await this.request(options);
185 if (result.code == 0) {
186 $.log(`✅账号[${this.index}] 【发表评论】成功 获得积分【${result.data.singleReward}】🎉`)
187 }
188 }
189 async getPosts() {
190 let options = {
191 method: 'GET',

Callers 1

tasklistMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected