2019年6月24日

跨域cookie设置

摘要: 1.后端设置 Access-Control-Allow-Credentials 设置为true 设置:Access-Control-Allow-Origin 2.前端设置 设置:withCredentials: true 以axios为例:在request config中设置:withCredent 阅读全文

posted @ 2019-06-24 11:05 huozaimengli 阅读(2360) 评论(0) 推荐(0) 编辑

导航