...
|
...
|
@@ -17,7 +17,7 @@ public class TokenModel { |
|
|
private String token;
|
|
|
|
|
|
//使用openId 登录时,会返回该用户openid对应的account。
|
|
|
private String account;
|
|
|
private String username;
|
|
|
|
|
|
public TokenModel(String userId, String token) {
|
|
|
this.userId = userId;
|
...
|
...
|
@@ -40,11 +40,11 @@ public class TokenModel { |
|
|
this.token = token;
|
|
|
}
|
|
|
|
|
|
public String getAccount() {
|
|
|
return account;
|
|
|
public String getUsername() {
|
|
|
return username;
|
|
|
}
|
|
|
|
|
|
public void setAccount(String account) {
|
|
|
this.account = account;
|
|
|
public void setUsername(String username) {
|
|
|
this.username = username;
|
|
|
}
|
|
|
} |
...
|
...
|
|