Ajax访问php,报错

 

php顶部加上即可:

header("Access-Control-Allow-Origin: *");

  

 

posted on 2017-06-16 14:37  gamedaybyday  阅读(15618)  评论(0编辑  收藏  举报