xxl-job跳转地址修改
This commit is contained in:
parent
bfe2032f99
commit
377133dc73
@ -47,9 +47,9 @@
|
||||
*/
|
||||
function ssoLogin() {
|
||||
const clientId = 'ludu-job-admin'; // 可以改写成,你的 clientId
|
||||
const redirectUri = encodeURIComponent('http://127.0.0.1:9090/xxl-job-admin/toLogin'); // 注意,需要使用 encodeURIComponent 编码地址
|
||||
const redirectUri = encodeURIComponent('https://mt.ptzykjgs.com/xxl-job-admin/toLogin'); // 注意,需要使用 encodeURIComponent 编码地址
|
||||
const responseType = 'code'; // 1)授权码模式,对应 code;2)简化模式,对应 token
|
||||
window.location.href = 'http://127.0.0.1/admin/sso?client_id=' + clientId
|
||||
window.location.href = 'https://mt.ptzykjgs.com/admin/sso?client_id=' + clientId
|
||||
+ '&redirect_uri=' + redirectUri
|
||||
+ '&response_type=' + responseType;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user