diff --git a/src/main/java/com/lq/wechat/mode/menu/WechatMenu.java b/src/main/java/com/lq/wechat/mode/menu/WechatMenu.java index 7f61ad5..d1425f2 100755 --- a/src/main/java/com/lq/wechat/mode/menu/WechatMenu.java +++ b/src/main/java/com/lq/wechat/mode/menu/WechatMenu.java @@ -3,11 +3,13 @@ package com.lq.wechat.mode.menu; import java.util.List; /** - * @author qi * 菜单类 + * @author qi */ public class WechatMenu { - //菜单类 + /** + * 菜单类 + */ private List button; public List getButton() { diff --git a/src/main/java/com/lq/wechat/mode/message/ShortvideoMessage.java b/src/main/java/com/lq/wechat/mode/message/ShortvideoMessage.java index 7486396..c12603c 100755 --- a/src/main/java/com/lq/wechat/mode/message/ShortvideoMessage.java +++ b/src/main/java/com/lq/wechat/mode/message/ShortvideoMessage.java @@ -3,13 +3,7 @@ package com.lq.wechat.mode.message; import com.thoughtworks.xstream.annotations.XStreamAlias; /** - * ToUserName 开发者微信号 -FromUserName 发送方帐号(一个OpenID) -CreateTime 消息创建时间 (整型) -MsgType 小视频为shortvideo -MediaId 视频消息媒体id,可以调用多媒体文件下载接口拉取数据。 -ThumbMediaId 视频消息缩略图的媒体id,可以调用多媒体文件下载接口拉取数据。 -MsgId 消息id,64位整型 + * 小视频消息 * @author qi * */ diff --git a/src/main/java/com/lq/wechat/mode/message/VideoMessage.java b/src/main/java/com/lq/wechat/mode/message/VideoMessage.java index 1dc4d97..7be6401 100755 --- a/src/main/java/com/lq/wechat/mode/message/VideoMessage.java +++ b/src/main/java/com/lq/wechat/mode/message/VideoMessage.java @@ -3,13 +3,7 @@ package com.lq.wechat.mode.message; import com.thoughtworks.xstream.annotations.XStreamAlias; /** - * ToUserName 开发者微信号 -FromUserName 发送方帐号(一个OpenID) -CreateTime 消息创建时间 (整型) -MsgType 视频为video -MediaId 视频消息媒体id,可以调用多媒体文件下载接口拉取数据。 -ThumbMediaId 视频消息缩略图的媒体id,可以调用多媒体文件下载接口拉取数据。 -MsgId 消息id,64位整型 + * 视频消息 * @author qi * */ diff --git a/src/main/java/com/lq/wechat/mode/message/VoicemMessage.java b/src/main/java/com/lq/wechat/mode/message/VoicemMessage.java index e698a7b..6a35016 100755 --- a/src/main/java/com/lq/wechat/mode/message/VoicemMessage.java +++ b/src/main/java/com/lq/wechat/mode/message/VoicemMessage.java @@ -3,7 +3,7 @@ package com.lq.wechat.mode.message; import com.thoughtworks.xstream.annotations.XStreamAlias; /** - * + * 语音消息 * @author qi * */ diff --git a/src/main/java/com/lq/wechat/mode/template/WechatTemplateConcreteBuilder.java b/src/main/java/com/lq/wechat/mode/template/WechatTemplateConcreteBuilder.java index 780ad32..9056f01 100755 --- a/src/main/java/com/lq/wechat/mode/template/WechatTemplateConcreteBuilder.java +++ b/src/main/java/com/lq/wechat/mode/template/WechatTemplateConcreteBuilder.java @@ -5,13 +5,21 @@ import java.util.Map; /** * 构造器默认实现类 - * Created by qi_liang on 2018/6/27. + * @author qi */ public class WechatTemplateConcreteBuilder implements WechatTemplateBuilder { - //默认颜色 + /** + * 默认颜色 + */ public static final String DEFAULT_COLORD = "#173177"; + /** + * 消息模板 + */ private WechatTemplate wechatTemplate; + /** + * 业务数据 + */ private Map data; private int index = 1; diff --git a/src/main/java/com/lq/wechat/util/CheckUtil.java b/src/main/java/com/lq/wechat/util/CheckUtil.java index 81baebc..598e956 100755 --- a/src/main/java/com/lq/wechat/util/CheckUtil.java +++ b/src/main/java/com/lq/wechat/util/CheckUtil.java @@ -3,7 +3,7 @@ package com.lq.wechat.util; import java.util.Arrays; /** - * author qi + * @Author qi */ public class CheckUtil { diff --git a/src/main/java/com/lq/wechat/util/MenuUtil.java b/src/main/java/com/lq/wechat/util/MenuUtil.java index 5704b1b..0e4d810 100755 --- a/src/main/java/com/lq/wechat/util/MenuUtil.java +++ b/src/main/java/com/lq/wechat/util/MenuUtil.java @@ -6,7 +6,9 @@ import com.lq.wechat.mode.menu.WechatMenu; import com.lq.wechat.mode.menu.WechatMenuCofig; /** - * Created by qi_liang on 2018/6/1. + * + * @author qi + * @date 2018/6/1 */ public class MenuUtil {