|
@@ -27,7 +27,7 @@
|
|
|
|
|
|
// 发起请求
|
|
|
$.ajax({
|
|
|
- url: "http://127.0.0.1:48081/admin-api/system/oauth2/token?"
|
|
|
+ url: "http://60.191.110.205:28080/admin-api/system/oauth2/token?"
|
|
|
// 客户端
|
|
|
+ "client_id=" + clientId
|
|
|
+ "&client_secret=" + clientSecret
|
|
@@ -58,7 +58,7 @@
|
|
|
document.cookie = 'REFRESH_TOKEN='+ result.data.refresh_token + '; expires=' + expiryDate.toUTCString();
|
|
|
// 提示登录成功
|
|
|
alert('登录成功!');
|
|
|
- // window.location.href = '/index.html';
|
|
|
+ window.location.href = '/index.html';
|
|
|
}
|
|
|
});
|
|
|
}
|