| 338 | } |
| 339 | |
| 340 | function taskListUrl(function_path, body, bizCode = 'jxbfd') { |
| 341 | let url = `${JD_API_HOST}newtasksys/newtasksys_front/${function_path}?strZone=jxbfd&bizCode=${bizCode}&source=jxbfd&dwEnv=7&_cfd_t=${Date.now()}&ptag=138631.26.55&${body}&_stk=_cfd_t%2CbizCode%2CconfigExtra%2CdwEnv%2Cptag%2Csource%2CstrZone%2CtaskId&_ste=1`; |
| 342 | url += `&h5st=${decrypt(Date.now(), '', '', url)}&_=${Date.now() + 2}&sceneval=2&g_login_type=1&g_ty=ls`; |
| 343 | return { |
| 344 | url, |
| 345 | headers: { |
| 346 | Cookie: cookie, |
| 347 | Accept: "*/*", |
| 348 | Connection: "keep-alive", |
| 349 | Referer:"https://st.jingxi.com/fortune_island/index.html?ptag=138631.26.55", |
| 350 | "Accept-Encoding": "gzip, deflate, br", |
| 351 | Host: "m.jingxi.com", |
| 352 | "User-Agent":`jdpingou;iPhone;3.15.2;14.2.1;ea00763447803eb0f32045dcba629c248ea53bb3;network/wifi;model/iPhone13,2;appBuild/100365;ADID/00000000-0000-0000-0000-000000000000;supportApplePay/1;hasUPPay/0;pushNoticeIsOpen/0;hasOCPay/0;supportBestPay/0;session/${Math.random * 98 + 1};pap/JA2015_311210;brand/apple;supportJDSHWK/1;Mozilla/5.0 (iPhone; CPU iPhone OS 14_2_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148`, |
| 353 | "Accept-Language": "zh-cn", |
| 354 | }, |
| 355 | timeout: 10000 |
| 356 | }; |
| 357 | } |
| 358 | |
| 359 | function showMsg() { |
| 360 | return new Promise(async (resolve) => { |