feat : 测试sso单点登录之后的重定向路径

This commit is contained in:
clay
2024-04-29 10:20:58 +08:00
parent 5d3ab890f3
commit 57bfb6f4a0

View File

@@ -42,7 +42,7 @@ serveice.interceptors.response.use(response=>{
closeOnClickModal: false closeOnClickModal: false
}).then(()=>{ }).then(()=>{
removeToken() removeToken()
window.location = '/cas/login' window.location = '/api/auth/cas/login'
}) })
return Promise.reject('会话已过期,请重新登录') return Promise.reject('会话已过期,请重新登录')
case 402: case 402: