数据库group表添加2个字段
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
alter table `t_group` add column `_history_message` tinyint NOT NULL DEFAULT 0;
|
||||||
|
alter table `t_group` add column `_max_member_count` int(11) NOT NULL DEFAULT 2000;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
alter table `t_group` add column `_history_message` tinyint NOT NULL DEFAULT 0, COMMENT "new group member can load group history messages";
|
||||||
|
alter table `t_group` add column `_max_member_count` int(11) NOT NULL DEFAULT 2000, COMMENT "max group member count",
|
||||||
@@ -52,7 +52,7 @@ public class GroupAdmin {
|
|||||||
return AdminHttpUtils.httpJsonPost(path, transferGroup, Void.class);
|
return AdminHttpUtils.httpJsonPost(path, transferGroup, Void.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IMResult<Void> modifyGroupInfo(String operator, String groupId, int type, String value, List<Integer> to_lines, MessagePayload notify_message) throws Exception {
|
public static IMResult<Void> modifyGroupInfo(String operator, String groupId, /*ModifyGroupInfoType*/int type, String value, List<Integer> to_lines, MessagePayload notify_message) throws Exception {
|
||||||
String path = APIPath.Group_Modify_Info;
|
String path = APIPath.Group_Modify_Info;
|
||||||
InputModifyGroupInfo modifyGroupInfo = new InputModifyGroupInfo();
|
InputModifyGroupInfo modifyGroupInfo = new InputModifyGroupInfo();
|
||||||
modifyGroupInfo.setGroup_id(groupId);
|
modifyGroupInfo.setGroup_id(groupId);
|
||||||
|
|||||||
Reference in New Issue
Block a user