1 Star 0 Fork 191

984141790/hm-tools-wxmp-adapter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
NamingVerifyFail.java 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
package top.hmtools.wxmp.core.eventModels;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import top.hmtools.wxmp.core.annotation.WxmpMessage;
import top.hmtools.wxmp.core.model.message.BaseEventMessage;
import top.hmtools.wxmp.core.model.message.enums.Event;
import top.hmtools.wxmp.core.model.message.enums.MsgType;
/**
* 名称认证失败(这时虽然客户端不打勾,但仍有接口权限)
* {@code
* <xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1442401061</CreateTime>
<MsgType><![CDATA[event]]></MsgType>
<Event><![CDATA[naming_verify_fail]]></Event>
<FailTime>1442401061</FailTime>
<FailReason><![CDATA[by time]]></FailReason>
</xml>
* }
* @author HyboWork
*
*/
@WxmpMessage(msgType=MsgType.event,event=Event.naming_verify_fail)
public class NamingVerifyFail extends BaseEventMessage {
/**
*
*/
private static final long serialVersionUID = 7345884077805046679L;
@XStreamAlias("FailTime")
private Long failTime;
@XStreamAlias("FailReason")
private String failReason;
public Long getFailTime() {
return failTime;
}
public void setFailTime(Long failTime) {
this.failTime = failTime;
}
public String getFailReason() {
return failReason;
}
public void setFailReason(String failReason) {
this.failReason = failReason;
}
public static long getSerialversionuid() {
return serialVersionUID;
}
@Override
public String toString() {
return "NamingVerifyFail [failTime=" + failTime + ", failReason=" + failReason + ", event=" + event
+ ", eventKey=" + eventKey + ", toUserName=" + toUserName + ", fromUserName=" + fromUserName
+ ", createTime=" + createTime + ", msgType=" + msgType + ", msgId=" + msgId + "]";
}
@Override
public void configXStream(XStream xStream) {
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/qj153291/hm-tools-wxmp-adapter.git
git@gitee.com:qj153291/hm-tools-wxmp-adapter.git
qj153291
hm-tools-wxmp-adapter
hm-tools-wxmp-adapter
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385