程序包 | 说明 |
---|---|
com.jfinal.weixin.iot.msg | |
com.jfinal.weixin.sdk.jfinal |
JFinal-weixin jfinal扩展
|
com.jfinal.weixin.sdk.msg |
消息管理-输入和输出消息
|
com.jfinal.weixin.sdk.msg.in | |
com.jfinal.weixin.sdk.msg.in.card |
微信卡券相关消息
|
com.jfinal.weixin.sdk.msg.in.event | |
com.jfinal.weixin.sdk.msg.in.speech_recognition | |
com.jfinal.weixin.sdk.msg.out |
限定符和类型 | 类和说明 |
---|---|
class |
InEqubindEvent
lyb 微信硬件绑定和解绑事件类
|
class |
InEquDataMsg
<xml>
<ToUserName><!
|
构造器和说明 |
---|
OutEquDataMsg(InMsg inMsg) |
限定符和类型 | 方法和说明 |
---|---|
InMsg |
MsgController.getInMsg() |
限定符和类型 | 方法和说明 |
---|---|
static InMsg |
InMsgParser.parse(String xml)
从 xml 中解析出各类消息与事件
|
限定符和类型 | 类和说明 |
---|---|
class |
InImageMsg
接收图片消息
<xml>
<ToUserName><!
|
class |
InLinkMsg
接收链接消息
<xml>
<ToUserName><!
|
class |
InLocationMsg
接收地理位置消息
<xml>
<ToUserName><!
|
class |
InNotDefinedMsg
没有找到对应的消息类型
|
class |
InShortVideoMsg
接收视频消息
<xml>
<ToUserName><!
|
class |
InTextMsg
接收文本消息
<xml>
<ToUserName><!
|
class |
InVideoMsg
接收视频消息
<xml>
<ToUserName><!
|
class |
InVoiceMsg
接收语音消息
<xml>
<ToUserName><!
|
限定符和类型 | 类和说明 |
---|---|
class |
InCardPassCheckEvent
审核事件推送
|
class |
InCardPayOrderEvent
券点流水详情事件
|
class |
InCardSkuRemindEvent
库存报警事件
|
class |
InMerChantOrderEvent
微信小店订单支付成功接口消息
<xml>
<ToUserName><!
|
class |
InUpdateMemberCardEvent
Created by L.cm on 2016/5/5.
|
class |
InUserCardEvent
微信会员卡卡券
<xml>
<ToUserName><!
|
class |
InUserConsumeCardEvent
核销事件推送
|
class |
InUserGetCardEvent
领取事件推送
|
class |
InUserGiftingCardEvent
转赠事件推送
<xml>
<ToUserName><!
|
class |
InUserPayFromCardEvent
Created by L.cm on 2016/5/5.
|
限定符和类型 | 类和说明 |
---|---|
class |
EventInMsg |
class |
InCustomEvent
接入会话:
<xml>
<ToUserName><!
|
class |
InFollowEvent
接收 关注/取消关注事件
<xml>
<ToUserName><!
|
class |
InLocationEvent
上报地理位置事件
<xml>
<ToUserName><!
|
class |
InMassEvent
由于群发任务提交后,群发任务可能在一定时间后才完成,因此,群发接口调用时,仅会给出群发任务是否提交成功的提示,
若群发任务提交成功,则在群发任务结束时,会向开发者在公众平台填写的开发者URL(callback URL)推送事件。
|
class |
InMenuEvent
自定义菜单事件
1: 点击菜单拉取消息时的事件推送
<xml>
<ToUserName><!
|
class |
InNotDefinedEvent
没有找到适配类型时的事件
|
class |
InPoiCheckNotifyEvent
新创建的门店在审核通过后,会以事件形式推送给商户填写的回调 URL(登陆公众平台进 入“开发者中心”设置)
微信服务器在五秒内收不到响应会断掉连接,并且重新发起请求,总共重试三次。
|
class |
InQrCodeEvent
扫描带参数二维码事件
1.
|
class |
InShakearoundUserShakeEvent
来自:http://my.oschina.net/u/1993676/blog/490124
用户进入摇一摇界面,在“周边”页卡下摇一摇时,
微信会把这个事件推送到开发者填写的URL(登录公众平台进入开发者中心设置)。
|
class |
InTemplateMsgEvent
在模版消息发送任务完成后,微信服务器会将是否送达成功作为通知,发送到开发者中心中填写的服务器配置地址中
<xml>
<ToUserName><!
|
class |
InVerifyFailEvent
<xml><ToUserName><!
|
class |
InVerifySuccessEvent
<xml><ToUserName><!
|
class |
InWifiEvent
WIFI连网后下发消息 http://mp.weixin.qq.com/wiki/19/bac84e64da24f928c3e536c742d4e0b7.html
<xml>
<ToUserName><!
|
限定符和类型 | 类和说明 |
---|---|
class |
InSpeechRecognitionResults
接收语音识别结果,与 InVoiceMsg 唯一的不同是多了一个 Recognition 标记
<xml>
<ToUserName><!
|
构造器和说明 |
---|
OutCustomMsg(InMsg inMsg) |
OutImageMsg(InMsg inMsg) |
OutMsg(InMsg inMsg)
用接收到的消息初始化要发出去的消息,关键在于两者 toUserName 与 fromUserName 相反
|
OutMusicMsg(InMsg inMsg) |
OutNewsMsg(InMsg inMsg) |
OutTextMsg(InMsg inMsg) |
OutVideoMsg(InMsg inMsg) |
OutVoiceMsg(InMsg inMsg) |
Copyright © 2017. All rights reserved.