(articleId)
| 194 | } |
| 195 | } |
| 196 | async read_task(articleId) { |
| 197 | try { |
| 198 | let options = { |
| 199 | fn: "阅读执行", |
| 200 | method: "get", |
| 201 | url: `https://wxapi.hoolo.tv/event/dtqp/index.php?s=home/baoming/postBaoming/&activityId=428&name=${this.accountId}&city=${articleId}&gender=${this.round}&cellphone=${this.mobile}&type=jsonp`, |
| 202 | headers: this.get_headers(), |
| 203 | }; |
| 204 | let { body: result } = await httpRequest(options); |
| 205 | //console.log(options); |
| 206 | result = JSON.parse(result); |
| 207 | //console.log(result); |
| 208 | if (result.code == 0) { |
| 209 | //console.log(`✅阅读回调成功🎉`); |
| 210 | } else { |
| 211 | console.log(`❌[${options.fn}]失败`); |
| 212 | console.log(JSON.stringify(result)); |
| 213 | } |
| 214 | } catch (e) { |
| 215 | console.log(e); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | async lottery_num() { |
| 220 | try { |
no test coverage detected