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