From 1dfde627721328e53bc4fee19fda34c20fec39e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E4=BF=8A=E9=9C=96?= Date: Tue, 23 Aug 2022 16:17:08 +0800 Subject: [PATCH] =?UTF-8?q?accessToken=20=E6=8E=A5=E5=8F=A3=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=20is=5Fsnapshotuser=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../chanjar/weixin/common/bean/oauth2/WxOAuth2AccessToken.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/oauth2/WxOAuth2AccessToken.java b/weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/oauth2/WxOAuth2AccessToken.java index 0ab32d657..4faf9df37 100644 --- a/weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/oauth2/WxOAuth2AccessToken.java +++ b/weixin-java-common/src/main/java/me/chanjar/weixin/common/bean/oauth2/WxOAuth2AccessToken.java @@ -30,6 +30,9 @@ public class WxOAuth2AccessToken implements Serializable { @SerializedName("scope") private String scope; + @SerializedName("is_snapshotuser") + private Integer snapshotUser; + /** * https://mp.weixin.qq.com/cgi-bin/announce?action=getannouncement&announce_id=11513156443eZYea&version=&lang=zh_CN. * 本接口在scope参数为snsapi_base时不再提供unionID字段。