浏览器console报错:
has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is
解决:
服务端加入代码:
header('Access-Control-Allow-Origin:*');
1