From ea10d66e1c587ee0adeee2199d247ba3ad2a1412 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Tue, 6 May 2025 13:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0QQ=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E7=99=BB=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/tool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/handler/tool.go b/handler/tool.go index 7914d53..2797bd1 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -786,8 +786,9 @@ func GetThirdPartyAuthUrl(c *gin.Context) { case "qq": params := url.Values{} params.Add("response_type", "code") - params.Add("client_id", worker.AppId) + params.Add("client_id", worker.QQClientID) params.Add("state", stateBase64Str) + params.Add("redirect_uri", "https://www.ljsea.top/qq_callback.php") str := fmt.Sprintf("%s", params.Encode()) respUrl = fmt.Sprintf("%s?%s", proto.QQAuthorizeBaseUrl, str) case "github":