vue tp5跨域问题!

浏览:1118 发布日期:2020/07/21 分类:ThinkPHP5专区 关键字: 跨域 tp5 vue
header('Access-Control-Allow-Origin: *');
header('Access-Control-Allow-Methods: GET, POST, PATCH, PUT, DELETE');
header('Access-Control-Max-Age: 1728000');
header("Access-Control-Allow-Headers: Origin, X-Requested-With, Content-Type, Accept, Authorization, token");
最佳答案
评论( 相关
后面还有条评论,点击查看>>