最近中文字幕高清中文字幕无,亚洲欧美高清一区二区三区,一本色道无码道dvd在线观看 ,一个人看的www免费高清中文字幕

為了賬號安全,請及時綁定郵箱和手機立即綁定

獲取OTP短信驗證失敗,打開網(wǎng)頁輸入手機號點擊獲取OTP后出現(xiàn)以下錯誤求大神解答,謝謝! Access to XMLHttpRequest at 'http://localhost:8090/user/getotp' from origin 'http://localhost:63342' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response mus

短信發(fā)送失敗

正在回答

2 回答

錯了

前端ajax內(nèi)加xhrFields:?{withCredentials:?false},

是false不是true

這個是攜不攜帶cookie

4 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq___631

正解!?。?!
2021-03-31 回復(fù) 有任何疑惑可以回復(fù)我~

這個是數(shù)據(jù)跨域出的問題。

contoller注釋下面加這個注釋@CrossOrigin(origins?=?{"*"},allowedHeaders?=?"true")

前端ajax內(nèi)加xhrFields:?{withCredentials:?true},


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消

獲取OTP短信驗證失敗,打開網(wǎng)頁輸入手機號點擊獲取OTP后出現(xiàn)以下錯誤求大神解答,謝謝! Access to XMLHttpRequest at 'http://localhost:8090/user/getotp' from origin 'http://localhost:63342' has been blocked by CORS policy: The value of the 'Access-Control-Allow-Origin' header in the response mus

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號