提交 a5386666 编写于 作者: 不合群的混子's avatar 不合群的混子

添加用户在Google中的唯一主键

上级 90f8d01c
......@@ -51,6 +51,7 @@ public class AuthGoogleRequest extends BaseAuthRequest {
String userInfo = response.body();
JSONObject object = JSONObject.parseObject(userInfo);
return AuthUser.builder()
.uuid(object.getString("sub"))
.username(object.getString("name"))
.avatar(object.getString("picture"))
.nickname(object.getString("name"))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册