|
@@ -158,8 +158,8 @@ public class ImGroupMemberWrapper {
|
|
@ApiModelProperty(value = "群ID",required = true)
|
|
@ApiModelProperty(value = "群ID",required = true)
|
|
private String groupId;
|
|
private String groupId;
|
|
|
|
|
|
- @ApiModelProperty("禁言时长(分钟), 0取消禁方;不能小于0")
|
|
|
|
- private Integer muteTime;
|
|
|
|
|
|
+// @ApiModelProperty("禁言时长(分钟), 0取消禁方;不能小于0")
|
|
|
|
+// private Integer muteTime;
|
|
|
|
|
|
@ApiModelProperty("群禁言状态")
|
|
@ApiModelProperty("群禁言状态")
|
|
private Boolean groupMute;
|
|
private Boolean groupMute;
|
|
@@ -167,13 +167,13 @@ public class ImGroupMemberWrapper {
|
|
@ApiModelProperty("群成员ID")
|
|
@ApiModelProperty("群成员ID")
|
|
private List<String> userIds;
|
|
private List<String> userIds;
|
|
|
|
|
|
- public Integer getMuteTime() {
|
|
|
|
|
|
+ /*public Integer getMuteTime() {
|
|
// 禁言时长不能小于0,最小为1分钟
|
|
// 禁言时长不能小于0,最小为1分钟
|
|
if (Objects.nonNull(muteTime) && muteTime < 0) {
|
|
if (Objects.nonNull(muteTime) && muteTime < 0) {
|
|
return 1;
|
|
return 1;
|
|
}
|
|
}
|
|
return Optional.ofNullable(muteTime).orElse(0);
|
|
return Optional.ofNullable(muteTime).orElse(0);
|
|
- }
|
|
|
|
|
|
+ }*/
|
|
|
|
|
|
public String jsonString() {
|
|
public String jsonString() {
|
|
return JSON.toJSONString(this);
|
|
return JSON.toJSONString(this);
|