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

Method followUser

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

Source from the content-addressed store, hash-verified

222 }
223
224 async followUser(postsId) {
225 let options = {
226 method: 'PUT',
227 url: `https://api.xinc818.com/mini/user/follow`,
228 headers: {
229 "Content-Type": "application/json",
230 },
231 data: { "postsId": postsId, "decision": true }
232
233 };
234 let { data: result } = await this.request(options);
235 if (result.code == 0) {
236 $.log(`✅账号[${this.index}] 【关注用户】成功 获得积分【${result.data.singleReward}】🎉`)
237 }
238 }
239 async likeGoods(goodsId) {
240 let options = {
241 method: 'POST',

Callers 1

tasklistMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected