$.ajax({
url: "http://localhost:9096/id.do",
contentType: "text/html; charset=utf-8",
async: false,
dataType: "text",
success: function (data) {
user_id = data;
},
error: function (e) {
alert("出现错误");
location.reload();
}
});
前台如何$.ajax如何获取后台的“字符串”数据
最新推荐文章于 2022-12-17 22:12:24 发布