phpcn_u15822017-07-05 10:55:11 0 1 425
XMLHttpRequest cannot load http://api.qiniu.com/status/g... No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.54:8080' is therefore not allowed access.
$.ajax({
url:'http://api.qiniu.com/status/get/prefop?id=z0.5923a37345a2650c9977c17e',
type:"GET",
dataType:"json",
success:function(data){
console.log(data)
}
});
漂亮男人 2017-07-05 10:57:111楼
dataType: 'jsonp'
jquery jsonp跨域
赞 +0添加回复