File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
weixin-java-common/src/main/java/me/chanjar/weixin/common/bean Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,7 @@ public class WxOAuth2UserInfo implements Serializable {
58
58
*/
59
59
@ SerializedName ("privilege" )
60
60
private String [] privileges ;
61
- /**
62
- * is_snapshotuser 是否为快照页模式虚拟账号,值为0时是普通用户,1时是虚拟帐号
63
- */
64
- @ SerializedName ("is_snapshotuser" )
65
- private Integer snapshotUser ;
61
+
66
62
67
63
public static WxOAuth2UserInfo fromJson (String json ) {
68
64
return WxGsonBuilder .create ().fromJson (json , WxOAuth2UserInfo .class );
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ public class WxOAuth2AccessToken implements Serializable {
29
29
30
30
@ SerializedName ("scope" )
31
31
private String scope ;
32
-
32
+ /**
33
+ * 是否为快照页模式虚拟账号,只有当用户是快照页模式虚拟账号时返回,值为1
34
+ */
33
35
@ SerializedName ("is_snapshotuser" )
34
36
private Integer snapshotUser ;
35
37
You can’t perform that action at this time.
0 commit comments