cas 单点登录完成

This commit is contained in:
clay
2022-09-05 22:53:45 +08:00
parent 812a7b4595
commit a186667478
10 changed files with 85 additions and 12 deletions

View File

@@ -37,4 +37,19 @@ export function getCodeImg() {
url: '/captchaImage',
method: 'get'
})
}
}
// 获取验证码
export function casLogin() {
return request({
url: '/cas-login',
method: 'get'
})
}
// 获取验证码
export function casLogout() {
return request({
url: '/logout',
method: 'get'
})
}