| 572 | } |
| 573 | } |
| 574 | function taskUrl(function_id) { |
| 575 | let r = Date.now().toString(); |
| 576 | let hi = "07035cabb557f096"; |
| 577 | let o = hi + r; |
| 578 | let t = function_id; |
| 579 | let a = `t=${r}&starId=${$.activeId}`; |
| 580 | return { |
| 581 | url: `${JD_API_HOST}/${function_id}?t=${r}&starId=${$.activeId}`, |
| 582 | headers: { |
| 583 | Accept: "application/json,text/plain, */*", |
| 584 | "Accept-Encoding": "gzip, deflate, br", |
| 585 | "Accept-Language": "zh-cn", |
| 586 | Connection: "keep-alive", |
| 587 | Cookie: cookie, |
| 588 | Host: "urvsaggpt.m.jd.com", |
| 589 | Referer: "https://guardianstarjd.m.jd.com/", |
| 590 | sign: za(a, o, t).toString(), |
| 591 | timestamp: r, |
| 592 | "User-Agent": "jdapp;android;9.4.4;10;3b78ecc3f490c7ba;network/UNKNOWN;model/M2006J10C;addressid/138543439;aid/3b78ecc3f490c7ba;oaid/7d5870c5a1696881;osVer/29;appBuild/85576;psn/3b78ecc3f490c7ba|541;psq/2;uid/3b78ecc3f490c7ba;adk/;ads/;pap/JA2015_311210|9.2.4|ANDROID 10;osv/10;pv/548.2;jdv/0|iosapp|t_335139774|appshare|CopyURL|1606277982178|1606277986;ref/com.jd.lib.personal.view.fragment.JDPersonalFragment;partner/xiaomi001;apprpd/MyJD_Main;Mozilla/5.0 (Linux; Android 10; M2006J10C Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045227 Mobile Safari/537.36", |
| 593 | }, |
| 594 | }; |
| 595 | } |
| 596 | |
| 597 | // prettier-ignore |
| 598 | function za(t, e, a) { |