public abstract class MsgController
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected com.jfinal.weixin.sdk.msg.in.InMsg |
msg |
protected javax.servlet.http.HttpServletRequest |
request |
protected javax.servlet.http.HttpServletResponse |
response |
| 构造器和说明 |
|---|
MsgController() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getInMsgXml(javax.servlet.http.HttpServletRequest request) |
org.springframework.http.ResponseEntity<java.lang.Void> |
index(java.lang.String imXmlMsg)
weixin 公众号服务器调用唯一入口,即在开发者中心输入的 URL 必须要指向此 action
|
protected abstract void |
processInCardPassCheckEvent(com.jfinal.weixin.sdk.msg.in.card.InCardPassCheckEvent msg)
审核事件推送
|
protected abstract void |
processInCardPayOrderEvent(com.jfinal.weixin.sdk.msg.in.card.InCardPayOrderEvent msg)
券点流水详情事件
|
protected abstract void |
processInCardSkuRemindEvent(com.jfinal.weixin.sdk.msg.in.card.InCardSkuRemindEvent msg)
卡券库存报警事件
|
protected abstract void |
processInCustomEvent(com.jfinal.weixin.sdk.msg.in.event.InCustomEvent inCustomEvent)
处理接收到的多客服管理事件
|
protected abstract void |
processInEqubindEvent(com.jfinal.weixin.iot.msg.InEqubindEvent msg)
处理微信硬件绑定和解绑事件
|
protected abstract void |
processInEquDataMsg(com.jfinal.weixin.iot.msg.InEquDataMsg msg)
处理微信硬件发来数据
|
protected abstract void |
processInFollowEvent(com.jfinal.weixin.sdk.msg.in.event.InFollowEvent inFollowEvent)
处理接收到的关注/取消关注事件
|
protected abstract void |
processInImageMsg(com.jfinal.weixin.sdk.msg.in.InImageMsg inImageMsg)
处理接收到的图片消息
|
protected abstract void |
processInLinkMsg(com.jfinal.weixin.sdk.msg.in.InLinkMsg inLinkMsg)
处理接收到的链接消息
|
protected abstract void |
processInLocationEvent(com.jfinal.weixin.sdk.msg.in.event.InLocationEvent inLocationEvent)
处理接收到的上报地理位置事件
|
protected abstract void |
processInLocationMsg(com.jfinal.weixin.sdk.msg.in.InLocationMsg inLocationMsg)
处理接收到的地址位置消息
|
protected abstract void |
processInMassEvent(com.jfinal.weixin.sdk.msg.in.event.InMassEvent inMassEvent)
处理接收到的群发任务结束时通知事件
|
protected abstract void |
processInMenuEvent(com.jfinal.weixin.sdk.msg.in.event.InMenuEvent inMenuEvent)
处理接收到的自定义菜单事件
|
protected abstract void |
processInMerChantOrderEvent(com.jfinal.weixin.sdk.msg.in.card.InMerChantOrderEvent inMerChantOrderEvent)
微信小店订单支付成功接口消息
|
protected abstract void |
processInPoiCheckNotifyEvent(com.jfinal.weixin.sdk.msg.in.event.InPoiCheckNotifyEvent inPoiCheckNotifyEvent)
门店在审核事件消息
|
protected abstract void |
processInQrCodeEvent(com.jfinal.weixin.sdk.msg.in.event.InQrCodeEvent inQrCodeEvent)
处理接收到的扫描带参数二维码事件
|
protected abstract void |
processInShakearoundUserShakeEvent(com.jfinal.weixin.sdk.msg.in.event.InShakearoundUserShakeEvent inShakearoundUserShakeEvent)
处理微信摇一摇事件
|
protected abstract void |
processInShortVideoMsg(com.jfinal.weixin.sdk.msg.in.InShortVideoMsg inShortVideoMsg)
处理接收到的小视频消息
|
protected abstract void |
processInSpeechRecognitionResults(com.jfinal.weixin.sdk.msg.in.speech_recognition.InSpeechRecognitionResults inSpeechRecognitionResults)
处理接收到的语音识别结果
|
protected abstract void |
processInTemplateMsgEvent(com.jfinal.weixin.sdk.msg.in.event.InTemplateMsgEvent inTemplateMsgEvent)
处理接收到的模板消息是否送达成功通知事件
|
protected abstract void |
processInTextMsg(com.jfinal.weixin.sdk.msg.in.InTextMsg inTextMsg)
处理接收到的文本消息
|
protected abstract void |
processInUpdateMemberCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUpdateMemberCardEvent inUpdateMemberCardEvent)
微信会员卡积分变更
|
protected abstract void |
processInUserCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserCardEvent inUserCardEvent)
1.
|
protected abstract void |
processInUserConsumeCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserConsumeCardEvent msg)
卡券核销事件推送
|
protected abstract void |
processInUserGetCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserGetCardEvent msg)
卡券领取事件推送
|
protected abstract void |
processInUserGiftingCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserGiftingCardEvent msg)
卡券转赠事件推送
|
protected abstract void |
processInUserPayFromCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserPayFromCardEvent inUserPayFromCardEvent)
微信会员卡快速买单
|
protected abstract void |
processInVerifyFailEvent(com.jfinal.weixin.sdk.msg.in.event.InVerifyFailEvent inVerifyFailEvent)
资质认证失败 || 名称认证失败
|
protected abstract void |
processInVerifySuccessEvent(com.jfinal.weixin.sdk.msg.in.event.InVerifySuccessEvent inVerifySuccessEvent)
资质认证成功 || 名称认证成功 || 年审通知 || 认证过期失效通知
|
protected abstract void |
processInVideoMsg(com.jfinal.weixin.sdk.msg.in.InVideoMsg inVideoMsg)
处理接收到的视频消息
|
protected abstract void |
processInVoiceMsg(com.jfinal.weixin.sdk.msg.in.InVoiceMsg inVoiceMsg)
处理接收到的语音消息
|
protected abstract void |
processInWifiEvent(com.jfinal.weixin.sdk.msg.in.event.InWifiEvent inWifiEvent)
WIFI连网后下发消息 by unas at 2016-1-29
|
protected abstract void |
processIsNotDefinedEvent(com.jfinal.weixin.sdk.msg.in.event.InNotDefinedEvent inNotDefinedEvent)
没有找到对应的事件消息
|
protected abstract void |
processIsNotDefinedMsg(com.jfinal.weixin.sdk.msg.in.InNotDefinedMsg inNotDefinedMsg)
没有找到对应的消息
|
void |
render(com.jfinal.weixin.sdk.msg.out.OutMsg outMsg)
在接收到微信服务器的 InMsg 消息后后响应 OutMsg 消息
|
void |
renderOutTextMsg(java.lang.String content)
消息输出
|
protected com.jfinal.weixin.sdk.msg.in.InMsg msg
@Autowired protected javax.servlet.http.HttpServletRequest request
@Autowired protected javax.servlet.http.HttpServletResponse response
@RequestMapping(value="")
public org.springframework.http.ResponseEntity<java.lang.Void> index(@RequestBody
java.lang.String imXmlMsg)
imXmlMsg - imXmlMsgpublic void render(com.jfinal.weixin.sdk.msg.out.OutMsg outMsg)
outMsg - 输出对象public void renderOutTextMsg(java.lang.String content)
content - 输出的消息public java.lang.String getInMsgXml(javax.servlet.http.HttpServletRequest request)
protected abstract void processInTextMsg(com.jfinal.weixin.sdk.msg.in.InTextMsg inTextMsg)
inTextMsg - 处理接收到的文本消息protected abstract void processInImageMsg(com.jfinal.weixin.sdk.msg.in.InImageMsg inImageMsg)
inImageMsg - 处理接收到的图片消息protected abstract void processInVoiceMsg(com.jfinal.weixin.sdk.msg.in.InVoiceMsg inVoiceMsg)
inVoiceMsg - 处理接收到的语音消息protected abstract void processInVideoMsg(com.jfinal.weixin.sdk.msg.in.InVideoMsg inVideoMsg)
inVideoMsg - 处理接收到的视频消息protected abstract void processInShortVideoMsg(com.jfinal.weixin.sdk.msg.in.InShortVideoMsg inShortVideoMsg)
inShortVideoMsg - 处理接收到的小视频消息protected abstract void processInLocationMsg(com.jfinal.weixin.sdk.msg.in.InLocationMsg inLocationMsg)
inLocationMsg - 处理接收到的地址位置消息protected abstract void processInLinkMsg(com.jfinal.weixin.sdk.msg.in.InLinkMsg inLinkMsg)
inLinkMsg - 处理接收到的链接消息protected abstract void processInCustomEvent(com.jfinal.weixin.sdk.msg.in.event.InCustomEvent inCustomEvent)
inCustomEvent - 处理接收到的多客服管理事件protected abstract void processInFollowEvent(com.jfinal.weixin.sdk.msg.in.event.InFollowEvent inFollowEvent)
inFollowEvent - 处理接收到的关注/取消关注事件protected abstract void processInQrCodeEvent(com.jfinal.weixin.sdk.msg.in.event.InQrCodeEvent inQrCodeEvent)
inQrCodeEvent - 处理接收到的扫描带参数二维码事件protected abstract void processInLocationEvent(com.jfinal.weixin.sdk.msg.in.event.InLocationEvent inLocationEvent)
inLocationEvent - 处理接收到的上报地理位置事件protected abstract void processInMassEvent(com.jfinal.weixin.sdk.msg.in.event.InMassEvent inMassEvent)
inMassEvent - 处理接收到的群发任务结束时通知事件protected abstract void processInMenuEvent(com.jfinal.weixin.sdk.msg.in.event.InMenuEvent inMenuEvent)
inMenuEvent - 处理接收到的自定义菜单事件protected abstract void processInSpeechRecognitionResults(com.jfinal.weixin.sdk.msg.in.speech_recognition.InSpeechRecognitionResults inSpeechRecognitionResults)
inSpeechRecognitionResults - 处理接收到的语音识别结果protected abstract void processInTemplateMsgEvent(com.jfinal.weixin.sdk.msg.in.event.InTemplateMsgEvent inTemplateMsgEvent)
inTemplateMsgEvent - 处理接收到的模板消息是否送达成功通知事件protected abstract void processInShakearoundUserShakeEvent(com.jfinal.weixin.sdk.msg.in.event.InShakearoundUserShakeEvent inShakearoundUserShakeEvent)
inShakearoundUserShakeEvent - 处理微信摇一摇事件protected abstract void processInVerifySuccessEvent(com.jfinal.weixin.sdk.msg.in.event.InVerifySuccessEvent inVerifySuccessEvent)
inVerifySuccessEvent - 资质认证成功 || 名称认证成功 || 年审通知 || 认证过期失效通知protected abstract void processInVerifyFailEvent(com.jfinal.weixin.sdk.msg.in.event.InVerifyFailEvent inVerifyFailEvent)
inVerifyFailEvent - 资质认证失败 || 名称认证失败protected abstract void processInPoiCheckNotifyEvent(com.jfinal.weixin.sdk.msg.in.event.InPoiCheckNotifyEvent inPoiCheckNotifyEvent)
inPoiCheckNotifyEvent - 门店在审核事件消息protected abstract void processInWifiEvent(com.jfinal.weixin.sdk.msg.in.event.InWifiEvent inWifiEvent)
inWifiEvent - WIFI连网后下发消息protected abstract void processInUserCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserCardEvent inUserCardEvent)
inUserCardEvent - InUserCardEventprotected abstract void processInUpdateMemberCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUpdateMemberCardEvent inUpdateMemberCardEvent)
inUpdateMemberCardEvent - 微信会员卡积分变更protected abstract void processInUserPayFromCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserPayFromCardEvent inUserPayFromCardEvent)
inUserPayFromCardEvent - 微信会员卡快速买单protected abstract void processInMerChantOrderEvent(com.jfinal.weixin.sdk.msg.in.card.InMerChantOrderEvent inMerChantOrderEvent)
inMerChantOrderEvent - 微信小店订单支付成功接口消息protected abstract void processIsNotDefinedEvent(com.jfinal.weixin.sdk.msg.in.event.InNotDefinedEvent inNotDefinedEvent)
inNotDefinedEvent - 没有对应的事件消息protected abstract void processIsNotDefinedMsg(com.jfinal.weixin.sdk.msg.in.InNotDefinedMsg inNotDefinedMsg)
inNotDefinedMsg - 没有对应消息protected abstract void processInUserGiftingCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserGiftingCardEvent msg)
msg - 卡券转赠事件推送protected abstract void processInUserGetCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserGetCardEvent msg)
msg - 卡券领取事件推送protected abstract void processInUserConsumeCardEvent(com.jfinal.weixin.sdk.msg.in.card.InUserConsumeCardEvent msg)
msg - 卡券核销事件推送protected abstract void processInCardSkuRemindEvent(com.jfinal.weixin.sdk.msg.in.card.InCardSkuRemindEvent msg)
msg - 卡券库存报警事件protected abstract void processInCardPayOrderEvent(com.jfinal.weixin.sdk.msg.in.card.InCardPayOrderEvent msg)
msg - 券点流水详情事件protected abstract void processInCardPassCheckEvent(com.jfinal.weixin.sdk.msg.in.card.InCardPassCheckEvent msg)
msg - 审核事件推送protected abstract void processInEqubindEvent(com.jfinal.weixin.iot.msg.InEqubindEvent msg)
msg - 处理微信硬件绑定和解绑事件protected abstract void processInEquDataMsg(com.jfinal.weixin.iot.msg.InEquDataMsg msg)
msg - 处理微信硬件发来数据