Skip to content

Commit 26e2cbc

Browse files
authored
🎨 #2827 【企业微信】新增几个企业微信第三方回调的事件常量
1 parent 320bbfe commit 26e2cbc

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

Diff for: weixin-java-common/src/main/java/me/chanjar/weixin/common/error/WxOpenErrorMsgEnum.java

+5
Original file line numberDiff line numberDiff line change
@@ -1136,6 +1136,11 @@ public enum WxOpenErrorMsgEnum {
11361136
*/
11371137
CODE_40222(40222, "invalid request idc domain"),
11381138

1139+
/**
1140+
* empty media cover, please check the media
1141+
*/
1142+
CODE_40229(40229, "媒体封面为空,请添加媒体封面"),
1143+
11391144
/**
11401145
* 缺少 access_token 参数 access_token missing
11411146
*/

Diff for: weixin-java-cp/src/main/java/me/chanjar/weixin/cp/constant/WxCpTpConsts.java

+15
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ public static class InfoType {
3333
*/
3434
public static final String CANCEL_AUTH = "cancel_auth";
3535

36+
/**
37+
* 企业互联共享应用事件回调
38+
*/
39+
public static final String SHARE_AGENT_CHANGE = "share_agent_change";
40+
41+
/**
42+
* 重置永久授权码通知
43+
*/
44+
public static final String RESET_PERMANENT_CODE = "reset_permanent_code";
45+
46+
/**
47+
* 应用管理员变更通知
48+
*/
49+
public static final String CHANGE_APP_ADMIN = "change_app_admin";
50+
3651
/**
3752
* 通讯录变更通知
3853
*/

Diff for: weixin-java-mp/src/main/java/me/chanjar/weixin/mp/bean/message/WxMpXmlMessage.java

+8
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,14 @@ public class WxMpXmlMessage implements Serializable {
831831
@JacksonXmlProperty(localName = "nsrsbh")
832832
private String nsrsbh;
833833

834+
835+
/**
836+
* 授权用户资料变更
837+
*/
838+
@XStreamAlias("RevokeInfo")
839+
@JacksonXmlProperty(localName = "RevokeInfo")
840+
private String revokeInfo;
841+
834842
/**
835843
* 加密消息
836844
*/

0 commit comments

Comments
 (0)