ajax+springboot跨域請求問題

一、後端添加註解@CrossOrigin並設置參數 allowCredentials = "true" , allowedHeaders = "*" 二、前端ajax設置參數xhrFields:{withCredentials:true}  
相關文章
相關標籤/搜索