From 4309a5faeac2f41b9d9a94f5a06c76869030cdb0 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Wed, 30 Apr 2025 16:19:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0google=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E7=99=BB=E5=BD=95,=E4=BF=AE=E6=94=B9=E4=B8=AD?= =?UTF-8?q?=E7=BB=A7=E8=AF=B7=E6=B1=82post=E6=A8=A1=E5=BC=8F=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/toolService.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/toolService.go b/service/toolService.go index dd247aa..0531f7d 100644 --- a/service/toolService.go +++ b/service/toolService.go @@ -492,7 +492,7 @@ func DoThirdPartyCallBack(state *proto.ThirdPartyLoginState, code string) { func DoGoogleCallBack(state *proto.ThirdPartyLoginState, code string) { //根据code获取Access Token - tokenResp, err := worker.GetGoogleAccessTokenByCode(code, "https://pm.ljsea.top/tool/google_callback", worker.GoogleClientID, worker.GoogleClientSecret) + tokenResp, err := worker.GetGoogleAccessTokenByCode(code, "https://pm.ljsea.top/tool/third_party_callback", worker.GoogleClientID, worker.GoogleClientSecret) if tokenResp.AccessToken == "" { log.Println("get google access token is empty")