解决 js ajax跨域访问报“No 'Access-Control-Allow-Origin' header is present on the requested resource.”错误
参考页面:https://blog.csdn.net/idomyway/article/details/79572973
如果请求的是PHP页面:
header("Access-Control-Allow-Origin: *");
参考页面:https://blog.csdn.net/idomyway/article/details/79572973
如果请求的是PHP页面:
header("Access-Control-Allow-Origin: *");