MCPcopy Create free account
hub / github.com/Semporia/Scripts / JXGC_taskurl

Function JXGC_taskurl

jd_get_share_code.js:100–115  ·  view source on GitHub ↗
(functionId, body = "")

Source from the content-addressed store, hash-verified

98 const JX_API_HOST = "https://m.jingxi.com";
99
100 function JXGC_taskurl(functionId, body = "") {
101 return {
102 url: `${JX_API_HOST}/dreamfactory/${functionId}?zone=dream_factory&${body}&sceneval=2&g_login_type=1&_time=${Date.now()}&_=${Date.now()}`,
103 headers: {
104 Cookie: cookie,
105 Host: "m.jingxi.com",
106 Accept: "*/*",
107 Connection: "keep-alive",
108 "User-Agent":
109 "jdpingou;iPhone;3.14.4;14.0;ae75259f6ca8378672006fc41079cd8c90c53be8;network/wifi;model/iPhone10,2;appBuild/100351;ADID/00000000-0000-0000-0000-000000000000;supportApplePay/1;hasUPPay/0;pushNoticeIsOpen/1;hasOCPay/0;supportBestPay/0;session/62;pap/JA2015_311210;brand/apple;supportJDSHWK/1;Mozilla/5.0 (iPhone; CPU iPhone OS 14_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148",
110 "Accept-Language": "zh-cn",
111 Referer: "https://wqsd.jd.com/pingou/dream_factory/index.html",
112 "Accept-Encoding": "gzip, deflate, br",
113 },
114 };
115 }
116
117 return new Promise(resolve => {
118 $.get(

Callers 1

getJxFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected