http://aabb:8088/Customer/index 请求 http://aabb:8088/Service/
$.ajax({
url:'http://aabb:8088/Service/',
type:'GET',
success:function(data){
console.log(data)
}
})
XMLHttpRequest cannot load http://aabb:8088/Service/. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://aabb:8088' is therefore not allowed access.
请求的url换成/Service/就正常了,请问这是为什么?
凤凰求蛊
相关分类