From c433662fe176434570abf3dd35960132baee6b08 Mon Sep 17 00:00:00 2001 From: qi Date: Tue, 5 May 2020 16:58:52 +0800 Subject: [PATCH] =?UTF-8?q?openid=E5=B0=81=E8=A3=85=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lq/wechat/mode/openid/WechatOpenId.java | 20 +++++++ .../wechat/mode/openid/WechatOpenIdList.java | 58 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 src/main/java/com/lq/wechat/mode/openid/WechatOpenId.java create mode 100644 src/main/java/com/lq/wechat/mode/openid/WechatOpenIdList.java diff --git a/src/main/java/com/lq/wechat/mode/openid/WechatOpenId.java b/src/main/java/com/lq/wechat/mode/openid/WechatOpenId.java new file mode 100644 index 0000000..d7a6952 --- /dev/null +++ b/src/main/java/com/lq/wechat/mode/openid/WechatOpenId.java @@ -0,0 +1,20 @@ +package com.lq.wechat.mode.openid; + +import java.util.List; + +/** + * @Description opeid 列表 + * @Author qi + **/ +public class WechatOpenId { + + private List openid; + + public List getOpenid() { + return openid; + } + + public void setOpenid(List openid) { + this.openid = openid; + } +} diff --git a/src/main/java/com/lq/wechat/mode/openid/WechatOpenIdList.java b/src/main/java/com/lq/wechat/mode/openid/WechatOpenIdList.java new file mode 100644 index 0000000..108065a --- /dev/null +++ b/src/main/java/com/lq/wechat/mode/openid/WechatOpenIdList.java @@ -0,0 +1,58 @@ +package com.lq.wechat.mode.openid; + +import java.util.List; + +/** + * @Description 微信关注openId列表 + * @Author qi + **/ +public class WechatOpenIdList { + /** + * 关注该公众号的总用户数 + */ + private Integer total; + /** + * 拉取的openid个数,最大数量为10000 + */ + private Integer count; + /** + * 列表数据,openId的列表 + */ + private WechatOpenId data; + /** + * 拉取列表的最后一个用户的openId + */ + private String next_openid; + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public WechatOpenId getData() { + return data; + } + + public void setData(WechatOpenId data) { + this.data = data; + } + + public String getNext_openid() { + return next_openid; + } + + public void setNext_openid(String next_openid) { + this.next_openid = next_openid; + } +}