mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2026-03-10 00:13:40 +08:00
fix #56 分组群发消息没有 is_to_all 字段
This commit is contained in:
@@ -9,7 +9,7 @@ import me.chanjar.weixin.mp.util.json.WxMpGsonBuilder;
|
||||
*/
|
||||
public class WxMpMassGroupMessage {
|
||||
|
||||
private long groupId;
|
||||
private Long groupId;
|
||||
private String msgtype;
|
||||
private String content;
|
||||
private String mediaId;
|
||||
@@ -58,11 +58,15 @@ public class WxMpMassGroupMessage {
|
||||
return WxMpGsonBuilder.INSTANCE.create().toJson(this);
|
||||
}
|
||||
|
||||
public long getGroupId() {
|
||||
public Long getGroupId() {
|
||||
return groupId;
|
||||
}
|
||||
|
||||
public void setGroupId(long groupId) {
|
||||
/**
|
||||
* 如果不设置则就意味着发给所有用户
|
||||
* @param groupId
|
||||
*/
|
||||
public void setGroupId(Long groupId) {
|
||||
this.groupId = groupId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user