PHP解决跨域问题 OwenZhang 2021-10-26 163 阅读1分钟 header('content-type:application:json;charset=utf8'); header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Methods:GET'); header('Access-Control-Allow-Headers:x-requested-with,content-type'); Buy me a cup of coffee :)