Ajax 跨域

来源:互联网 发布:macoffice办公软件 编辑:程序博客网 时间:2024/06/07 06:20
header('Cache-Control:no-cache,must-revalidate');header('Pragma:no-cache');header("Access-Control-Allow-Origin: http://localhost:9000");header("Access-Control-Allow-Methods:POST, GET, OPTIONS");header('Access-Control-Allow-Headers:x-requested-with,content-type');header("Access-Control-Allow-Credentials: true");
原创粉丝点击