1
0
mirror of synced 2026-05-22 21:53:18 +00:00

支持淘宝登录、修改AuthUser.java类中的accessToken属性,由原本的accessToken (String)改为token (AuthToken)

This commit is contained in:
yadong.zhang
2019-05-18 15:31:17 +08:00
parent 4fb81436e2
commit b8c3caea73
22 changed files with 180 additions and 37 deletions
@@ -60,7 +60,7 @@ public class AuthWeChatRequest extends BaseAuthRequest {
.avatar(object.getString("headimgurl"))
.location(object.getString("country") + "-" + object.getString("province") + "-" + object.getString("city"))
.gender(AuthUserGender.getRealGender(object.getString("sex")))
.accessToken(accessToken)
.token(authToken)
.source(AuthSource.WECHAT)
.build();
}