diff --git a/Yi.Bbs.Vue3/src/router/index.js b/Yi.Bbs.Vue3/src/router/index.js index ae3eadeb..5c53afb4 100644 --- a/Yi.Bbs.Vue3/src/router/index.js +++ b/Yi.Bbs.Vue3/src/router/index.js @@ -32,11 +32,11 @@ const router = createRouter({ component: () => import("../views/Register.vue"), }, { - name: "qq", - path: "/auth/qq", - component: () => import("../views/qqAuth/index.vue"), + name: "auth", + path: "/auth/:type", + component: () => import("../views/Auth/index.vue"), meta: { - title: "QQĉŽˆĉƒ", + title: "ĉŽˆĉƒ", }, }, ], diff --git a/Yi.Bbs.Vue3/src/views/qqAuth/index.vue b/Yi.Bbs.Vue3/src/views/Auth/index.vue similarity index 100% rename from Yi.Bbs.Vue3/src/views/qqAuth/index.vue rename to Yi.Bbs.Vue3/src/views/Auth/index.vue diff --git a/Yi.Bbs.Vue3/src/views/login/index.vue b/Yi.Bbs.Vue3/src/views/login/index.vue index 9602af92..8c422604 100644 --- a/Yi.Bbs.Vue3/src/views/login/index.vue +++ b/Yi.Bbs.Vue3/src/views/login/index.vue @@ -305,7 +305,7 @@ const handleContact = () => { const handleQQLogin = () => { window.open( - "https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101951505&redirect_uri=https://ccnetcore.com/qq&state=true&scope=get_user_info", + "https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=102087446&redirect_uri=https://ccnetcore.com/auth/qq&state=true&scope=get_user_info", undefined, "width=500,height=500,left=50,top=50" );