| @@ -63,6 +63,7 @@ public class WxConsts { | |||||
| * 群发反馈消息代码所对应的文字描述 | * 群发反馈消息代码所对应的文字描述 | ||||
| */ | */ | ||||
| public static final Map<String, String> MASS_ST_2_DESC = new HashMap<>(); | public static final Map<String, String> MASS_ST_2_DESC = new HashMap<>(); | ||||
| /////////////////////// | /////////////////////// | ||||
| // 微信端推送过来的事件类型 | // 微信端推送过来的事件类型 | ||||
| /////////////////////// | /////////////////////// | ||||
| @@ -94,6 +95,31 @@ public class WxConsts { | |||||
| public static final String EVT_KF_CLOSE_SESSION = "kf_close_session"; // 客服关闭会话 | public static final String EVT_KF_CLOSE_SESSION = "kf_close_session"; // 客服关闭会话 | ||||
| public static final String EVT_KF_SWITCH_SESSION = "kf_switch_session"; // 客服转接会话 | public static final String EVT_KF_SWITCH_SESSION = "kf_switch_session"; // 客服转接会话 | ||||
| public static final String EVT_POI_CHECK_NOTIFY = "poi_check_notify"; //门店审核事件推送 | public static final String EVT_POI_CHECK_NOTIFY = "poi_check_notify"; //门店审核事件推送 | ||||
| //以下为微信认证事件 | |||||
| /** | |||||
| * 资质认证成功 | |||||
| */ | |||||
| public static final String EVT_QUALIFICATION_VERIFY_SUCCESS = "qualification_verify_success"; | |||||
| /** | |||||
| * 资质认证失败 | |||||
| */ | |||||
| public static final String EVT_QUALIFICATION_VERIFY_FAIL = "qualification_verify_fail"; | |||||
| /** | |||||
| * 名称认证成功 | |||||
| */ | |||||
| public static final String EVT_NAMING_VERIFY_SUCCESS = "naming_verify_success"; | |||||
| /** | |||||
| * 名称认证失败 | |||||
| */ | |||||
| public static final String EVT_NAMING_VERIFY_FAIL = "naming_verify_fail"; | |||||
| /** | |||||
| * 年审通知 | |||||
| */ | |||||
| public static final String EVT_ANNUAL_RENEW = "annual_renew"; | |||||
| /** | |||||
| * 认证过期失效通知 | |||||
| */ | |||||
| public static final String EVT_VERIFY_EXPIRED = "verify_expired"; | |||||
| /////////////////////// | /////////////////////// | ||||
| // 上传多媒体文件的类型 | // 上传多媒体文件的类型 | ||||
| @@ -239,6 +239,54 @@ public class WxMpXmlMessage implements Serializable { | |||||
| @XStreamAlias("msg") | @XStreamAlias("msg") | ||||
| private String msg; | private String msg; | ||||
| /////////////////////////////////////// | |||||
| // 微信认证事件推送 | |||||
| /////////////////////////////////////// | |||||
| /** | |||||
| * ExpiredTime | |||||
| * 资质认证成功/名称认证成功: 有效期 (整形),指的是时间戳,将于该时间戳认证过期 | |||||
| * 年审通知: 有效期 (整形),指的是时间戳,将于该时间戳认证过期,需尽快年审 | |||||
| * 认证过期失效通知: 有效期 (整形),指的是时间戳,表示已于该时间戳认证过期,需要重新发起微信认证 | |||||
| */ | |||||
| @XStreamAlias("ExpiredTime") | |||||
| private Long expiredTime; | |||||
| /** | |||||
| * FailTime | |||||
| * 失败发生时间 (整形),时间戳 | |||||
| */ | |||||
| @XStreamAlias("FailTime") | |||||
| private Long failTime; | |||||
| /** | |||||
| * FailReason | |||||
| * 认证失败的原因 | |||||
| */ | |||||
| @XStreamAlias("FailReason") | |||||
| private String failReason; | |||||
| public Long getExpiredTime() { | |||||
| return this.expiredTime; | |||||
| } | |||||
| public void setExpiredTime(Long expiredTime) { | |||||
| this.expiredTime = expiredTime; | |||||
| } | |||||
| public Long getFailTime() { | |||||
| return this.failTime; | |||||
| } | |||||
| public void setFailTime(Long failTime) { | |||||
| this.failTime = failTime; | |||||
| } | |||||
| public String getFailReason() { | |||||
| return this.failReason; | |||||
| } | |||||
| public void setFailReason(String failReason) { | |||||
| this.failReason = failReason; | |||||
| } | |||||
| public String getStoreUniqId() { | public String getStoreUniqId() { | ||||
| return this.storeUniqId; | return this.storeUniqId; | ||||
| } | } | ||||