PHP跨域header头

header("Access-Control-Allow-Origin: *");
header('Content-Type: text/html;charset=utf-8');
header('Access-Control-Allow-Methods:POST,GET,OPTIONS');

猜你喜欢

转载自www.cnblogs.com/huibaoqiang/p/10678047.html