header(“Content-type: application/json”);
跨域
header(“Access-Control-Allow-Credentials: true”);
header(“Access-Control-Allow-Origin:*”);
//CORS
header(“Access-Control-Request-Methods:POST”);
header(‘Access-Control-Allow-Headers:x-requested-with,content-type’);
跨域
最新推荐文章于 2024-12-04 19:55:26 发布