jsonp调接口
作者:互联网
代码:
$.ajax({
type:'POST',
data:JSON.stringify(strpic2),
contentType :'application/json',
dataType:'json',
url :'https://result.eolinker.com/M94gSj9163463e3f775ddb1904934e5283fad543d8f9f7f?uri=/src/components/bussiness/temperatureDistribution',
success :function(data) {
alert("OK");
},
error :function(e) {
alert("error");
}})
标签:function,eolinker,error,接口,alert,json,jsonp,data 来源: https://blog.csdn.net/m0_49471668/article/details/119253857