下面是请求代码
jQuery.support.cors = true;
$.ajax({
type: "POST",
url: backendIp + "/ftp/proxy/server/web/get/basic/info/upload/type/facade",
dataType: "json",
data: {
subjectIdentifier: operNetId //operNetId 这个变量是有值得,是个字符串
},
success: function (data) {
if (data.code == '000000') { //说明请求成功
firstRequest = true;
// 开始给全局变量赋值
} else {
firstRequest = false;
alert(data.msg+1111);
}
error:functiom(error){
alert(error);
}
打开调试,确认前后端呗,这还能咋办