(postsId)
| 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', |