解决跨域问题

 header("Access-Control-Allow-Origin: *"); 
原文地址:https://www.cnblogs.com/sjxx/p/5949021.html