From 1e64a7f7b3e2ecc45c57180bbc16896ca7e4e735 Mon Sep 17 00:00:00 2001 From: arthur0201 <704538660@qq.com> Date: Wed, 23 Jun 2021 13:47:24 +0800 Subject: [PATCH] =?UTF-8?q?:new:=20#2161=20=E3=80=90=E5=85=AC=E4=BC=97?= =?UTF-8?q?=E5=8F=B7=E3=80=91=E5=BE=AE=E4=BF=A1=E6=8E=A8=E9=80=81=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E7=B1=BB=E5=A2=9E=E5=8A=A0=E7=BE=A4=E5=8F=91=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BA=8B=E4=BB=B6=E7=9B=B8=E5=85=B3=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/me/chanjar/weixin/common/api/WxConsts.java | 11 +++++++++++ .../external/contact/WxCpExternalContactInfo.java | 3 +++ 2 files changed, 14 insertions(+) diff --git a/weixin-java-common/src/main/java/me/chanjar/weixin/common/api/WxConsts.java b/weixin-java-common/src/main/java/me/chanjar/weixin/common/api/WxConsts.java index cfc7fc0f37..3e08462017 100644 --- a/weixin-java-common/src/main/java/me/chanjar/weixin/common/api/WxConsts.java +++ b/weixin-java-common/src/main/java/me/chanjar/weixin/common/api/WxConsts.java @@ -156,6 +156,12 @@ public static class MassMsgStatus { public static final String ERR_20013 = "err(20013)"; public static final String ERR_22000 = "err(22000)"; public static final String ERR_21000 = "err(21000)"; + public static final String ERR_30001 = "err(30001)"; + public static final String ERR_30002 = "err(30002)"; + public static final String ERR_30003 = "err(30003)"; + public static final String ERR_40001 = "err(40001)"; + public static final String ERR_40002 = "err(40002)"; + /** * 群发反馈消息代码所对应的文字描述. @@ -174,6 +180,11 @@ public static class MassMsgStatus { STATUS_DESC.put(ERR_20013, "涉嫌版权"); STATUS_DESC.put(ERR_22000, "涉嫌互推_互相宣传"); STATUS_DESC.put(ERR_21000, "涉嫌其他"); + STATUS_DESC.put(ERR_30001, "原创校验出现系统错误且用户选择了被判为转载就不群发"); + STATUS_DESC.put(ERR_30002, "原创校验被判定为不能群发"); + STATUS_DESC.put(ERR_30003, "原创校验被判定为转载文且用户选择了被判为转载就不群发"); + STATUS_DESC.put(ERR_40001, "管理员拒绝"); + STATUS_DESC.put(ERR_40002, "管理员30分钟内无响应,超时"); } } diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/external/contact/WxCpExternalContactInfo.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/external/contact/WxCpExternalContactInfo.java index bd7229384c..468aa53f1e 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/external/contact/WxCpExternalContactInfo.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/external/contact/WxCpExternalContactInfo.java @@ -26,6 +26,9 @@ public class WxCpExternalContactInfo implements Serializable { @SerializedName("follow_user") private List followedUsers; + @SerializedName("next_cursor") + private String nextCursor; + public static WxCpExternalContactInfo fromJson(String json) { return WxCpGsonBuilder.create().fromJson(json, WxCpExternalContactInfo.class); }