mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-06-28 13:16:19 +08:00
添加门店审核事件推送的相关消息变量和事件常量, for issue #17
This commit is contained in:
parent
8a5fdb1717
commit
d9e8fe6d14
@ -93,6 +93,8 @@ public class WxConsts {
|
|||||||
public static final String EVT_KF_CREATE_SESSION = "kf_create_session"; // 客服接入会话
|
public static final String EVT_KF_CREATE_SESSION = "kf_create_session"; // 客服接入会话
|
||||||
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"; //门店审核事件推送
|
||||||
|
|
||||||
///////////////////////
|
///////////////////////
|
||||||
// 上传多媒体文件的类型
|
// 上传多媒体文件的类型
|
||||||
///////////////////////
|
///////////////////////
|
||||||
|
@ -1,23 +1,21 @@
|
|||||||
package me.chanjar.weixin.mp.bean;
|
package me.chanjar.weixin.mp.bean;
|
||||||
|
|
||||||
|
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
||||||
|
import com.thoughtworks.xstream.annotations.XStreamConverter;
|
||||||
|
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
||||||
|
import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
||||||
|
import me.chanjar.weixin.mp.util.crypto.WxMpCryptUtil;
|
||||||
|
import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.apache.commons.io.IOUtils;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
||||||
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
||||||
|
|
||||||
import com.thoughtworks.xstream.annotations.XStreamAlias;
|
|
||||||
import com.thoughtworks.xstream.annotations.XStreamConverter;
|
|
||||||
|
|
||||||
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
|
||||||
import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
|
||||||
import me.chanjar.weixin.mp.util.crypto.WxMpCryptUtil;
|
|
||||||
import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <pre>
|
* <pre>
|
||||||
* 微信推送过来的消息,也是同步回复给用户的消息,xml格式
|
* 微信推送过来的消息,也是同步回复给用户的消息,xml格式
|
||||||
@ -209,6 +207,69 @@ public class WxMpXmlMessage implements Serializable {
|
|||||||
@XStreamAlias("SendLocationInfo")
|
@XStreamAlias("SendLocationInfo")
|
||||||
private SendLocationInfo sendLocationInfo = new SendLocationInfo();
|
private SendLocationInfo sendLocationInfo = new SendLocationInfo();
|
||||||
|
|
||||||
|
///////////////////////////////////////
|
||||||
|
// 门店审核事件推送
|
||||||
|
///////////////////////////////////////
|
||||||
|
/**
|
||||||
|
* UniqId
|
||||||
|
* 商户自己内部ID,即字段中的sid
|
||||||
|
*/
|
||||||
|
@XStreamAlias("UniqId")
|
||||||
|
private String storeUniqId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PoiId
|
||||||
|
* 微信的门店ID,微信内门店唯一标示ID
|
||||||
|
*/
|
||||||
|
@XStreamAlias("PoiId")
|
||||||
|
private String poiId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Result
|
||||||
|
* 审核结果,成功succ 或失败fail
|
||||||
|
*/
|
||||||
|
@XStreamAlias("Result")
|
||||||
|
private String result;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* msg
|
||||||
|
* 成功的通知信息,或审核失败的驳回理由
|
||||||
|
*/
|
||||||
|
@XStreamAlias("msg")
|
||||||
|
private String msg;
|
||||||
|
|
||||||
|
public String getStoreUniqId() {
|
||||||
|
return storeUniqId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStoreUniqId(String storeUniqId) {
|
||||||
|
this.storeUniqId = storeUniqId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPoiId() {
|
||||||
|
return poiId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPoiId(String poiId) {
|
||||||
|
this.poiId = poiId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getResult() {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setResult(String result) {
|
||||||
|
this.result = result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getMsg() {
|
||||||
|
return msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMsg(String msg) {
|
||||||
|
this.msg = msg;
|
||||||
|
}
|
||||||
|
|
||||||
public String getToUserName() {
|
public String getToUserName() {
|
||||||
return this.toUserName;
|
return this.toUserName;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user