$(document).ready(function() {
$.ajax({
url: "http://123.207.88.84:8080/zdm/AppApi/Search/CategoryList",
data: sendData,
type: "POST",
dataType: "json",
}).done(function(json) {
_this.message = json;
console.log(json);
}).fail(function(xhr, status, errorThrown) {
alert("Sorry, there was a problem!");
console.log("Error: " + errorThrown);
console.log("Status: " + status);
console.dir(xhr);
}).always(function(xhr, status) {
console.log("The request is complete!");
});
// Your code here.
}); //ready

 

相关文章:

  • 2022-02-24
  • 2022-12-23
  • 2021-10-17
  • 2021-12-28
  • 2022-01-10
  • 2022-12-23
  • 2021-09-04
猜你喜欢
  • 2021-11-26
  • 2021-12-26
  • 2021-11-25
  • 2021-12-10
  • 2022-02-09
  • 2022-12-23
  • 2021-11-22
相关资源
相似解决方案