关于前后端分离,后端返回了set-cookie,但是浏览器没有设置成功(未解决,折腾一天了,没找到解决方案)
摘要:问题描述: Angular,http://localhost:4200 Java, http://localhost:8080/test1 在前端发起对/test1的请求,test1对HttpServletResponse进行addCookie(new Cookie("test1", "test1"
阅读全文
posted @ 2023-01-15 11:41