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")