()
| 151 | } |
| 152 | |
| 153 | async art_list() { |
| 154 | try { |
| 155 | let options = { |
| 156 | fn: "文章列表", |
| 157 | method: "get", |
| 158 | url: `https://app-api.radar-ev.com/appapi/content/essay/pageCommunity?current=1&size=20&channelId=PD3455168030976339970`, |
| 159 | headers: this.headers, |
| 160 | } |
| 161 | let { body: result } = await $.httpRequest(options); |
| 162 | //console.log(options); |
| 163 | //console.log(result); |
| 164 | if (result.code == 0) { |
| 165 | this.artList = result.data.records |
| 166 | } else { |
| 167 | console.log(`❌账号[${this.index}] 获取文章失败`); |
| 168 | console.log(result); |
| 169 | } |
| 170 | } catch (e) { |
| 171 | console.log(e); |
| 172 | } |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | async function start() { |
no test coverage detected