1,在子域名请求中设置添加
withCredentials: true
2,在方法中添加
header("Access-Control-Allow-Origin:你的地址");
header("Access-Control-Allow-Credentials:true");
1,在子域名请求中设置添加
withCredentials: true
2,在方法中添加
header("Access-Control-Allow-Origin:你的地址");
header("Access-Control-Allow-Credentials:true");