header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods:POST,GET');
header('Access-Control-Allow-Headers:x-requested-with, content-type');
博客列表 >PHP如何解决跨域问题
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods:POST,GET');
header('Access-Control-Allow-Headers:x-requested-with, content-type');