ajax post 跨域

H5页面永远无法避开跨域问题……

php中,
header('Access-Control-Allow-Origin:*');
搞定。

兼容性先不管了。




原文地址:https://www.cnblogs.com/passby/p/4601658.html