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); }