修改注释

master
星期八 5 years ago
parent fb23838169
commit f98f7ce1e1
  1. 6
      src/main/java/com/lq/wechat/mode/menu/WechatMenu.java
  2. 8
      src/main/java/com/lq/wechat/mode/message/ShortvideoMessage.java
  3. 8
      src/main/java/com/lq/wechat/mode/message/VideoMessage.java
  4. 2
      src/main/java/com/lq/wechat/mode/message/VoicemMessage.java
  5. 12
      src/main/java/com/lq/wechat/mode/template/WechatTemplateConcreteBuilder.java
  6. 2
      src/main/java/com/lq/wechat/util/CheckUtil.java
  7. 4
      src/main/java/com/lq/wechat/util/MenuUtil.java

@ -3,11 +3,13 @@ package com.lq.wechat.mode.menu;
import java.util.List; import java.util.List;
/** /**
* @author qi
* 菜单类 * 菜单类
* @author qi
*/ */
public class WechatMenu { public class WechatMenu {
//菜单类 /**
* 菜单类
*/
private List<WechatButton> button; private List<WechatButton> button;
public List<WechatButton> getButton() { public List<WechatButton> getButton() {

@ -3,13 +3,7 @@ package com.lq.wechat.mode.message;
import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAlias;
/** /**
* ToUserName 开发者微信号 * 小视频消息
FromUserName 发送方帐号一个OpenID
CreateTime 消息创建时间 整型
MsgType 小视频为shortvideo
MediaId 视频消息媒体id可以调用多媒体文件下载接口拉取数据
ThumbMediaId 视频消息缩略图的媒体id可以调用多媒体文件下载接口拉取数据
MsgId 消息id64位整型
* @author qi * @author qi
* *
*/ */

@ -3,13 +3,7 @@ package com.lq.wechat.mode.message;
import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAlias;
/** /**
* ToUserName 开发者微信号 * 视频消息
FromUserName 发送方帐号一个OpenID
CreateTime 消息创建时间 整型
MsgType 视频为video
MediaId 视频消息媒体id可以调用多媒体文件下载接口拉取数据
ThumbMediaId 视频消息缩略图的媒体id可以调用多媒体文件下载接口拉取数据
MsgId 消息id64位整型
* @author qi * @author qi
* *
*/ */

@ -3,7 +3,7 @@ package com.lq.wechat.mode.message;
import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamAlias;
/** /**
* * 语音消息
* @author qi * @author qi
* *
*/ */

@ -5,13 +5,21 @@ import java.util.Map;
/** /**
* 构造器默认实现类 * 构造器默认实现类
* Created by qi_liang on 2018/6/27. * @author qi
*/ */
public class WechatTemplateConcreteBuilder implements WechatTemplateBuilder { public class WechatTemplateConcreteBuilder implements WechatTemplateBuilder {
//默认颜色 /**
* 默认颜色
*/
public static final String DEFAULT_COLORD = "#173177"; public static final String DEFAULT_COLORD = "#173177";
/**
* 消息模板
*/
private WechatTemplate wechatTemplate; private WechatTemplate wechatTemplate;
/**
* 业务数据
*/
private Map<String,Object> data; private Map<String,Object> data;
private int index = 1; private int index = 1;

@ -3,7 +3,7 @@ package com.lq.wechat.util;
import java.util.Arrays; import java.util.Arrays;
/** /**
* author qi * @Author qi
*/ */
public class CheckUtil { public class CheckUtil {

@ -6,7 +6,9 @@ import com.lq.wechat.mode.menu.WechatMenu;
import com.lq.wechat.mode.menu.WechatMenuCofig; import com.lq.wechat.mode.menu.WechatMenuCofig;
/** /**
* Created by qi_liang on 2018/6/1. *
* @author qi
* @date 2018/6/1
*/ */
public class MenuUtil { public class MenuUtil {

Loading…
Cancel
Save