ajax跨域

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

header('Access-Control-Allow-Origin: http://指定访问');

红字是控制台报的错,如果加上了还报别的错,继续配置header

posted @ 2017-09-01 15:26  Bender9527  阅读(89)  评论(0)    收藏  举报