var url = "http://*****/app/invited/invited/personlist";
var params = {phone: "",orderkey: "time",ordermethod: "desc",page: 0,pagesize:60};
var xhr = new XMLHttpRequest();
xhr.open("POST", url, true);
xhr.setRequestHeader("Content-Type", "application/json");
xhr.onload = function (e) {
if (xhr.readyState === 4) {
if (xhr.status === 200) {
console.log(xhr.responseText);
} else {
console.error(xhr.statusText);
}
}
};
xhr.onerror = function (e) {
console.error(xhr.statusText);
};
xhr.send(JSON.stringify(params));

 

相关文章:

  • 2021-11-05
  • 2022-01-07
  • 2021-09-28
  • 2021-07-19
  • 2022-02-21
  • 2022-12-23
  • 2022-01-01
  • 2022-01-07
猜你喜欢
  • 2022-12-23
  • 2021-08-07
  • 2022-12-23
  • 2022-01-07
  • 2022-01-07
  • 2022-01-07
  • 2021-06-22
相关资源
相似解决方案