修改第三方登录gitee登录回调

This commit is contained in:
junleea 2025-05-17 11:38:07 +08:00
parent fd2f1456e2
commit 91e90666fc
1 changed files with 1 additions and 1 deletions

View File

@ -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