diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/login.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/login.html index 26f4469e..a7ae91d8 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/login.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/login.html @@ -147,34 +147,6 @@ login(); } }); - - // $.ajax({ - // url: "http://www.szcredit.com.cn/web/GSZJGSPT/QyxyDetail.aspx?rid=536993e1c2504e7eb55b7234c90d597e&cid=91440300769156389U", - // data: {}, - // type: 'GET', - // datatype: "jsonp", - // success: function (result) { - // console.log(result); - // }, - // error: function (err) { - // console.log(err) - // } - // }); - // 发送ajax的跨域请求 - // 1. 创建核心对象 - let xmlHttpRequest = new XMLHttpRequest(); - // 2. 注册回调函数 - xmlHttpRequest.onreadystatechange = () => { - if (xmlHttpRequest.readyState == 4) { - if (xmlHttpRequest.status >= 200 && xmlHttpRequest.status < 300) { - console.log(xmlHttpRequest.responseText) - } - } - }; - // 3. 开启通道 - xmlHttpRequest.open("GET", "http://www.szcredit.com.cn/web/GSZJGSPT/QyxyDetail.aspx?rid=536993e1c2504e7eb55b7234c90d597e&cid=91440300769156389U", true); - // 4. 发送请求 - xmlHttpRequest.send() }); /**