ajax無法跳轉網頁。僅用於獲取數據。跳轉網頁要在前端window.location.href
1,跨域訪問要設置,crossDomain:true;
// dataType : "jsonp",//jsonp可以用於構造二次請求如Callback=getMessageone
// jsonp:"Callback",
// jsonpCallback:"getMessageone",
// crossDomain:true,