摘要: 前端:ajax访问时要加上“xhrFields: {withCredentials: true}” ,实现session可以传递 后端:Access-Control-Allow-Credentials 设置为 true;同时 Access-Control-Allow-Origin 必须指定 url 阅读全文
posted @ 2018-10-30 14:58 梦回秦殇 阅读(1555) 评论(0) 推荐(0) 编辑