优化代码

This commit is contained in:
Binary Wang
2019-07-14 14:56:25 +08:00
parent 113407a213
commit d451d3b779
3 changed files with 17 additions and 13 deletions

View File

@@ -7,7 +7,7 @@ import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
import java.io.Serializable;
/**
* 按标签群发的消息
* 按标签群发的消息.
*
* @author chanjarster
*/
@@ -16,12 +16,12 @@ public class WxMpMassTagMessage implements Serializable {
private static final long serialVersionUID = -6625914040986749286L;
/**
* 标签id如果不设置则就意味着发给所有用户
* 标签id如果不设置则就意味着发给所有用户.
*/
private Long tagId;
/**
* <pre>
* 消息类型
* 消息类型.
* 请使用
* {@link WxConsts.MassMsgType#IMAGE}
* {@link WxConsts.MassMsgType#MPNEWS}
@@ -35,17 +35,17 @@ public class WxMpMassTagMessage implements Serializable {
private String content;
private String mediaId;
/**
* 是否群发给所有用户
* 是否群发给所有用户.
*/
private boolean isSendAll = false;
/**
* 文章被判定为转载时,是否继续进行群发操作
* 文章被判定为转载时,是否继续进行群发操作.
*/
private boolean sendIgnoreReprint = false;
/**
* 开发者侧群发msgid长度限制64字节如不填则后台默认以群发范围和群发内容的摘要值做为clientmsgid
* 开发者侧群发msgid长度限制64字节如不填则后台默认以群发范围和群发内容的摘要值做为clientmsgid.
*/
private String clientMsgId;