Package | Description |
---|---|
com.mxixm.fastboot.weixin.module.message | |
com.mxixm.fastboot.weixin.module.message.processor |
Modifier and Type | Class and Description |
---|---|
class |
WxGroupMessage<T extends WxMessageBody>
fastboot-weixin WxGroupMessage
|
class |
WxMessage<T extends WxMessageBody>
FastBootWeixin WxMessage
所有消息都是通过Msg推送的
坑啊,主动发消息竟然是json格式
真是尴尬,不仅格式不同,结构也不同,坑爹。。。
特别是text消息,json的在text结构下,xml在顶级
注解@JsonUnwrapped @XmlElementWrapper这两个对于XML和JSON完全相反的功能,两个都只提供了一个。。。
https://stackoverflow.com/questions/16202583/xmlelementwrapper-for-unwrapped-collections
https://github.com/FasterXML/jackson-databind/issues/512
FastBootWeixin WxMessage
|
static class |
WxMessage.Builder<B extends WxMessage.Builder,M extends WxMessageBody> |
class |
WxUserMessage<T extends WxMessageBody>
fastboot-weixin WxUserMessage
|
Modifier and Type | Class and Description |
---|---|
static class |
WxMessageBody.Image |
static class |
WxMessageBody.Media |
static class |
WxMessageBody.MiniProgram
小程序类型,这个只有用户消息有,群发消息没有
有空把其他equals、hashcode、toString重构一下
|
static class |
WxMessageBody.MpNews |
static class |
WxMessageBody.Music
其实可以再抽象一个thumbMediaBody的。。。我懒
|
static class |
WxMessageBody.News |
static class |
WxMessageBody.Status
发送状态消息的封装
|
static class |
WxMessageBody.Template
模板消息体
|
static class |
WxMessageBody.Text |
static class |
WxMessageBody.Video |
static class |
WxMessageBody.Voice |
static class |
WxMessageBody.WxCard |
Modifier and Type | Field and Description |
---|---|
protected T |
WxMessage.body |
protected M |
WxMessage.Builder.body |
Modifier and Type | Class and Description |
---|---|
class |
AbstractWxMessageBodyProcessor<B extends WxMessageBody>
FastBootWeixin AbstractWxGroupMediaMessageProcessor
|
Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.