|
@@ -69,17 +69,20 @@ function handleQrcodeStatus() {
|
|
|
if (status === "FINISH") {
|
|
|
// 登录成功
|
|
|
userStoreHook.login(res.data).then(() => {
|
|
|
- httpAjaxLoading(mutualTLSQuery_gym).then(res => {
|
|
|
- if (res.code === 511) {
|
|
|
- useSecureAnth({
|
|
|
- onCancel() {
|
|
|
- router.push({ path: "/" })
|
|
|
- }
|
|
|
- })
|
|
|
- } else {
|
|
|
- router.push({ path: "/" })
|
|
|
- }
|
|
|
- })
|
|
|
+ // 目前管乐迷才有安全证书
|
|
|
+ res.data.appKey === "GYM"
|
|
|
+ ? httpAjaxLoading(mutualTLSQuery_gym).then(res => {
|
|
|
+ if (res.code === 511) {
|
|
|
+ useSecureAnth({
|
|
|
+ onCancel() {
|
|
|
+ router.push({ path: "/" })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ router.push({ path: "/" })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ : router.push({ path: "/" })
|
|
|
})
|
|
|
return
|
|
|
}
|