From a0fd35bf5e4bc968f87cb597ce2e5d5fd8a740bf Mon Sep 17 00:00:00 2001 From: Xwen <929716663@qq.com> Date: Mon, 8 Jan 2024 21:41:23 +0800 Subject: [PATCH] =?UTF-8?q?perf:=E7=BB=9F=E4=B8=80=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E6=8E=88=E6=9D=83=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Yi.Bbs.Vue3/src/router/index.js | 8 ++++---- Yi.Bbs.Vue3/src/views/{qqAuth => Auth}/index.vue | 0 Yi.Bbs.Vue3/src/views/login/index.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename Yi.Bbs.Vue3/src/views/{qqAuth => Auth}/index.vue (100%) 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" );