diff --git a/internal/api/group.go b/internal/api/group.go index 875256869..f1070aab5 100644 --- a/internal/api/group.go +++ b/internal/api/group.go @@ -73,6 +73,10 @@ func (o *Group) GetGroupMembersInfo(c *gin.Context) { a2r.Call(group.GroupClient.GetGroupMembersInfo, o.client, c) } +func (o *Group) GetGroupMemberList(c *gin.Context) { + a2r.Call(group.GroupClient.GetGroupMemberList, o.client, c) +} + func (o *Group) InviteUserToGroup(c *gin.Context) { a2r.Call(group.GroupClient.InviteUserToGroup, o.client, c) } diff --git a/internal/api/route.go b/internal/api/route.go index 8d81b955f..67af50e8c 100644 --- a/internal/api/route.go +++ b/internal/api/route.go @@ -80,6 +80,7 @@ func NewGinRouter(zk discoveryregistry.SvcDiscoveryRegistry, rdb redis.Universal groupRouterGroup.POST("/kick_group", g.KickGroupMember) //1 // groupRouterGroup.POST("/get_group_all_member_list", g.GetGroupAllMemberList) //1 groupRouterGroup.POST("/get_group_members_info", g.GetGroupMembersInfo) //1 + groupRouterGroup.POST("/get_group_member_list", g.GetGroupMemberList) //1 groupRouterGroup.POST("/invite_user_to_group", g.InviteUserToGroup) //1 groupRouterGroup.POST("/get_joined_group_list", g.GetJoinedGroupList) groupRouterGroup.POST("/dismiss_group", g.DismissGroup) //