|
|
|
@ -51,20 +51,20 @@ func main() {
|
|
|
|
|
//group related routing group
|
|
|
|
|
groupRouterGroup := r.Group("/group")
|
|
|
|
|
{
|
|
|
|
|
groupRouterGroup.POST("/create_group", group.CreateGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/set_group_info", group.SetGroupInfo) //1
|
|
|
|
|
groupRouterGroup.POST("join_group", group.JoinGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/quit_group", group.QuitGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/group_application_response", group.ApplicationGroupResponse) //1
|
|
|
|
|
groupRouterGroup.POST("/transfer_group", group.TransferGroupOwner) //1
|
|
|
|
|
groupRouterGroup.POST("/get_group_applicationList", group.GetGroupApplicationList) //1
|
|
|
|
|
groupRouterGroup.POST("/get_groups_info", group.GetGroupsInfo) //1
|
|
|
|
|
groupRouterGroup.POST("/kick_group", group.KickGroupMember) //1
|
|
|
|
|
groupRouterGroup.POST("/get_group_member_list", group.GetGroupMemberList) //no use
|
|
|
|
|
groupRouterGroup.POST("/get_group_all_member_list", group.GetGroupAllMemberList) //1
|
|
|
|
|
groupRouterGroup.POST("/get_group_members_info", group.GetGroupMembersInfo) //1
|
|
|
|
|
groupRouterGroup.POST("/invite_user_to_group", group.InviteUserToGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/get_joined_group_list", group.GetJoinedGroupList) //1
|
|
|
|
|
groupRouterGroup.POST("/create_group", group.CreateGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/set_group_info", group.SetGroupInfo) //1
|
|
|
|
|
groupRouterGroup.POST("join_group", group.JoinGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/quit_group", group.QuitGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/group_application_response", group.ApplicationGroupResponse) //1
|
|
|
|
|
groupRouterGroup.POST("/transfer_group", group.TransferGroupOwner) //1
|
|
|
|
|
groupRouterGroup.POST("/get_recv_group_applicationList", group.GetRecvGroupApplicationList) //1
|
|
|
|
|
groupRouterGroup.POST("/get_groups_info", group.GetGroupsInfo) //1
|
|
|
|
|
groupRouterGroup.POST("/kick_group", group.KickGroupMember) //1
|
|
|
|
|
groupRouterGroup.POST("/get_group_member_list", group.GetGroupMemberList) //no use
|
|
|
|
|
groupRouterGroup.POST("/get_group_all_member_list", group.GetGroupAllMemberList) //1
|
|
|
|
|
groupRouterGroup.POST("/get_group_members_info", group.GetGroupMembersInfo) //1
|
|
|
|
|
groupRouterGroup.POST("/invite_user_to_group", group.InviteUserToGroup) //1
|
|
|
|
|
groupRouterGroup.POST("/get_joined_group_list", group.GetJoinedGroupList) //1
|
|
|
|
|
}
|
|
|
|
|
//certificate
|
|
|
|
|
authRouterGroup := r.Group("/auth")
|
|
|
|
|