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

🐛 修复QQ登录,新增location

上级 663efb35
......@@ -20,6 +20,7 @@ import java.util.Map;
* qq登录
*
* @author yadong.zhang (yadong.zhang0415(a)gmail.com)
* @author yangkai.shen (https://xkcoding.com)
* @version 1.0
* @since 1.8
*/
......@@ -62,6 +63,7 @@ public class AuthQqRequest extends BaseAuthRequest {
.username(object.getString("nickname"))
.nickname(object.getString("nickname"))
.avatar(avatar)
.location(object.getString("province") + "-" + object.getString("city"))
.gender(AuthUserGender.getRealGender(object.getString("gender")))
.token(authToken)
.source(AuthSource.QQ)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册