This commit is contained in:
eson 2023-09-06 12:20:25 +08:00
parent bd5fdbdbd3
commit 6bbaac287b

View File

@ -97,8 +97,8 @@ func (l *UserGoogleLoginLogic) UserGoogleLogin(req *types.RequestGoogleLogin, us
CreateAt: time.Now().UTC(),
Extend: map[string]interface{}{
"google_id": googleId,
"first_name": gresult.Get("family_name"),
"last_name": gresult.Get("given_name"),
"first_name": gresult.Get("family_name").String(),
"last_name": gresult.Get("given_name").String(),
},
}