diff --git a/api/param/request.go b/api/param/request.go index 397853f..bce4944 100644 --- a/api/param/request.go +++ b/api/param/request.go @@ -37,12 +37,12 @@ type AccountDeleteReqItem struct { // GroupCreateReq 建群 type GroupCreateReq struct { - OwnerAccount string `json:"Owner_Account"` // 群主的 UserId(选填) - Type common.GroupType `json:"Type"` // 群组类型(不支持创建直播群) - Name string `json:"Name"` // 群名称(必填) - ApplyJoinOption string `json:"ApplyJoinOption"` // 申请加群处理方式(选填) -> FreeAccess(自由加入),NeedPermission(需要验证),DisableApply(禁止加群),不填默认为 NeedPermission(需要验证) - GroupId string `json:"GroupId"` // 自定义的群组Id - MemberList []GroupMemberItem `json:"MemberList"` // 群组成员 + OwnerAccount string `json:"Owner_Account"` // 群主的 UserId(选填) + Type common.GroupType `json:"Type"` // 群组类型(不支持创建直播群) + Name string `json:"Name"` // 群名称(必填) + GroupId string `json:"GroupId"` // 自定义的群组Id + MemberList []GroupMemberItem `json:"MemberList"` // 群组成员 + //ApplyJoinOption string `json:"ApplyJoinOption"` // 申请加群处理方式(选填) -> FreeAccess(自由加入),NeedPermission(需要验证),DisableApply(禁止加群),不填默认为 NeedPermission(需要验证) } // GroupMemberItem 群成员