You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
758 B
28 lines
758 B
package com.ynxbd.wx.wxfactory.bean;
|
|
|
|
import lombok.Getter;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
@Getter
|
|
@Setter
|
|
@ToString
|
|
@NoArgsConstructor
|
|
public class SnsOath2AccessToken extends WxBaseResult {
|
|
private String accessToken;
|
|
private Integer expiresIn;
|
|
private String refreshToken;
|
|
private String openid;
|
|
private String scope;
|
|
private String unionid;
|
|
// 是否为快照页模式虚拟账号,只有当用户是快照页模式虚拟账号是返回,值为1
|
|
private String isSnapShotUser;
|
|
|
|
public Boolean getIsSnapShotUser() {
|
|
if (isSnapShotUser == null) {
|
|
return null;
|
|
}
|
|
return "1".equals(isSnapShotUser);
|
|
}
|
|
}
|
|
|