| 256 | //******************************************************** |
| 257 | // 变量检查与处理 |
| 258 | async function checkEnv() { |
| 259 | if (userCookie) { |
| 260 | // console.log(userCookie); |
| 261 | let e = envSplitor[0]; |
| 262 | for (let o of envSplitor) |
| 263 | if (userCookie.indexOf(o) > -1) { |
| 264 | e = o; |
| 265 | break; |
| 266 | } |
| 267 | for (let n of userCookie.split(e)) n && userList.push(new UserInfo(n)); |
| 268 | userCount = userList.length; |
| 269 | } else { |
| 270 | console.log("未找到CK"); |
| 271 | return; |
| 272 | } |
| 273 | return console.log(`共找到${userCount}个账号`), true;//true == !0 |
| 274 | } |
| 275 | ///////////////////////////////////////////////////////////////////////////////////// |
| 276 | function httpRequest(options, method) { |
| 277 | typeof (method) === 'undefined' ? ('body' in options ? method = 'post' : method = 'get') : method = method |