From 91e90666fc3f2083a7e28fa1f157fc7e94b6d7a7 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Sat, 17 May 2025 11:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E7=99=BB=E5=BD=95gitee=E7=99=BB=E5=BD=95=E5=9B=9E=E8=B0=83?= 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 2a3fc20..d32498a 100644 --- a/service/toolService.go +++ b/service/toolService.go @@ -277,7 +277,7 @@ func GenerateJWTToken(userID int, userName string) (string, error) { func DoGiteeCallBack(state *proto.ThirdPartyLoginState, code string) { //获取Access Token - resp, err := worker.GetGiteeAccessTokenByCode(code, "https://pm.ljsea.top/tool/gitee_callback", proto.Config.GITEE_CLIENT_ID, proto.Config.GITEE_CLIENT_SECRET) + resp, err := worker.GetGiteeAccessTokenByCode(code, "https://pm.ljsea.top/tool/third_party_callback", proto.Config.GITEE_CLIENT_ID, proto.Config.GITEE_CLIENT_SECRET) if err != nil { log.Println("get gitee access token error:", err) return