ajax允许跨域

//在接收回调端的PHP页开头加入下面这句

header("Access-Control-Allow-Origin:*");//允许跨域

 

posted @ 2020-06-09 15:45  pensive2019  阅读(1067)  评论(0)    收藏  举报