//财富岛
function getCFD(showInvite = true) {
function taskUrl(function_path, body) {
return {
url: `https://m.jingxi.com/jxcfd/${function_path}?strZone=jxcfd&bizCode=jxcfd&source=jxcfd&dwEnv=7&_cfd_t=${Date.now()}&ptag=138631.26.55&${body}&_ste=1&_=${Date.now()}&sceneval=2&g_login_type=1&g_ty=ls`,
headers: {
Cookie: cookie,
Accept: "*/*",
Connection: "keep-alive",
Referer:"https://st.jingxi.com/fortune_island/index.html?ptag=138631.26.55",
"Accept-Encoding": "gzip, deflate, br",
Host: "m.jingxi.com",
"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`,
"Accept-Language": "zh-cn",
},
};
}
return new Promise(async (resolve) => {
$.get(taskUrl(`user/QueryUserInfo`), (err, resp, data) => {
try {
console.log(data);
const {
iret,
SceneList = {},
XbStatus: { XBDetail = [], dwXBRemainCnt } = {},
ddwMoney,
dwIsNewUser,
sErrMsg,
strMyShareId,
strPin,
} = JSON.parse(data);
console.log(`【京东账号${$.index}(${$.UserName})财富岛】${strMyShareId}`)
} catch (e) {
$.logErr(e, resp);
} finally {
resolve();
}
});
});
}
<!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;">
<title>出错了</title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" href="//wq.360buyimg.com/fd/h5/wxsq_dev/errorPage/css/index.min_d70d24fe.css">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0, shrink-to-fit=no, viewport-fit=cover">
<meta http-equiv="x-dns-prefetch-control" content="on" />
<link rel="dns-prefetch" href="//img10.360buyimg.com">
<link rel="dns-prefetch" href="//img11.360buyimg.com">
<link rel="dns-prefetch" href="//img12.360buyimg.com">
<link rel="dns-prefetch" href="//img13.360buyimg.com">
<link rel="dns-prefetch" href="//img14.360buyimg.com">
<link rel="dns-prefetch" href="//img20.360buyimg.com">
<link rel="dns-prefetch" href="//img30.360buyimg.com">
<link rel="dns-prefetch" href="//wq.360buyimg.com">
<script type="text/javascript">
function __reloadResource(c){try{var l=document.head||document.getElementsByTagName("head")[0];var b="wq.360buyimg.com";var d=/img\d{1,2}.360buyimg.com/;if(c&&/link/i.test(c.tagName)){if(!c.href||c.href.indexOf(b)==-1){return}var a=document.createElement("link");a.rel="stylesheet";a.href=c.href.replace(b,"wqimg.jd.com");l.appendChild(a)}if(c&&/script/i.test(c.tagName)){if(!c.src||c.src.indexOf(b)==-1){return}var e=document.createElement("script");e.type="text/javascript";e.src=c.src.replace(b,"wqimg.jd.com");l.appendChild(e)}if(c&&/img/i.test(c.tagName)){if(!c.src||!d.test(c.src)){return}c.src=c.src.replace(d,"wqimg.jd.com/imgproxy").replace(".jpg.jpg",".jpg").replace(".png.png",".png")}}catch(e){}};
</script>
<script type="text/javascript">
~function(){
var u = navigator.userAgent.toLowerCase();
if (u.indexOf('micromessenger') == -1 || u.indexOf('android') == -1) return;
var matchs = u.match(/micromessenger\/(\d+)\./);
if(matchs && matchs[1] < 8){
var meta = document.createElement('meta');
meta.setAttribute('name','x5-cache');
meta.setAttribute('content','disable');
var head = document.head||document.getElementsByTagName("head")[0];
head.appendChild(meta);
}
}()
</script>
</head>
。。。以下省略。。。