Browse Source

监督端-登录修改

v4
zouyx 2 years ago
parent
commit
1747969b60
  1. 28
      lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/login.html

28
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()
});
/**

Loading…
Cancel
Save