api to rpc use generic paradigm

This commit is contained in:
withchao
2023-02-09 14:33:35 +08:00
parent 41d62937ff
commit 00d64119fa
8 changed files with 1513 additions and 1413 deletions
+2 -2
View File
@@ -22,7 +22,7 @@ type KickGroupMemberReq struct {
}
type KickGroupMemberResp struct {
CommResp
UserIDResultList []*UserIDResult `json:"data"`
//UserIDResultList []*UserIDResult `json:"data"`
}
type GetGroupMembersInfoReq struct {
@@ -44,7 +44,7 @@ type InviteUserToGroupReq struct {
}
type InviteUserToGroupResp struct {
CommResp
UserIDResultList []*UserIDResult `json:"data"`
//UserIDResultList []*UserIDResult `json:"data"`
}
type GetJoinedGroupListReq struct {
+1 -2
View File
@@ -3,7 +3,6 @@ package api_struct
import (
pbRelay "Open_IM/pkg/proto/relay"
server_api_params "Open_IM/pkg/proto/sdk_ws"
pbUser "Open_IM/pkg/proto/user"
)
type DeleteUsersReq struct {
@@ -35,7 +34,7 @@ type AccountCheckReq struct {
}
type AccountCheckResp struct {
CommResp
ResultList []*pbUser.AccountCheckResp_SingleUserStatus `json:"data"`
//ResultList []*pbUser.AccountCheckResp_SingleUserStatus `json:"data"`
}
type ManagementSendMsg struct {