From a2cee9879bed0c568d487a94fa260aeedb30dbee Mon Sep 17 00:00:00 2001 From: "Yangkai.Shen" <237497819@qq.com> Date: Thu, 23 May 2019 11:25:21 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8DQQ=E7=99=BB=E5=BD=95?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9Elocation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/me/zhyd/oauth/request/AuthQqRequest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/me/zhyd/oauth/request/AuthQqRequest.java b/src/main/java/me/zhyd/oauth/request/AuthQqRequest.java index 8f2c8f4..989172b 100644 --- a/src/main/java/me/zhyd/oauth/request/AuthQqRequest.java +++ b/src/main/java/me/zhyd/oauth/request/AuthQqRequest.java @@ -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) -- GitLab