测试通过

This commit is contained in:
eson 2023-07-18 18:23:18 +08:00
parent c13225d2fa
commit e3373bde65
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Auth:
OAuth:
google:
appid: "1064842923358-e94msq2glj6qr4lrva9ts3q8h.apps.googleusercontent.com"
appid: "1064842923358-e94msq2glj6qr4lrva9ts3hqjjt53q8h.apps.googleusercontent.com"
secret: "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"
facebook:

View File

@ -59,6 +59,7 @@ func (l *UserGoogleLoginLogic) UserGoogleLogin(req *types.RequestGoogleLogin, us
token, err := googleOauthConfig.Exchange(ctx, req.Code)
if err != nil {
logx.Error(err)
resp.SetStatus(basic.CodeApiErr)
}
ses := requests.NewSession()