|
|
|
|
@ -31,7 +31,7 @@ router.beforeEach(async(to, from, next) => {
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
let redirectUri = encodeURIComponent(window.location.href)
|
|
|
|
|
window.location.href = `https://api.weishao.com.cn/oauth/authorize?client_id=d05e4c9d07f705ef&redirect_uri=${redirectUri}&response_type=code&scope=base_api&state=wyd`
|
|
|
|
|
window.location.href = `http://sso.szhct.edu.cn/oauth/authorize?client_id=d05e4c9d07f705ef&redirect_uri=${redirectUri}&response_type=code&scope=base_api&state=wyd`
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|