PHP跨域header头

header("Access-Control-Allow-Origin: *");
header('Content-Type: text/html;charset=utf-8');
header('Access-Control-Allow-Methods:POST,GET,OPTIONS');
posted @ 2019-04-09 16:53  代码的搬运工啊  阅读(225)  评论(0编辑  收藏  举报