header("Access-Control-Allow-Origin: *");//允许跨域请求ip,*代表所有
header('Access-Control-Allow-Methods: GET, POST,DELETE,OPTIONS');//允许请求类型
header('Access-Control-Allow-Headers: x-requested-with, content-type, x-token');
header(&...
日期:2022-09-25
浏览:645次
评论:
0次
阅读全文