diff --git a/service/toolService.go b/service/toolService.go index 8f0e709..b939b5d 100644 --- a/service/toolService.go +++ b/service/toolService.go @@ -520,7 +520,7 @@ func DoGoogleCallBack(state *proto.ThirdPartyLoginState, code string) { func DoFaceBookCallBack(state *proto.ThirdPartyLoginState, code string) { //根据code获取Access Token - tokenResp, err := worker.GetFacebookAccessTokenByCode(code, "https://pm.ljsea.top/tool/third_party_callback", worker.GoogleClientID, worker.GoogleClientSecret) + tokenResp, err := worker.GetFacebookAccessTokenByCode(code, "https://pm.ljsea.top/tool/third_party_callback", worker.FacebookClientID, worker.FacebookClientSecret) if tokenResp.AccessToken == "" { log.Println("get google access token is empty")