mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-21 01:09:01 +08:00
Refactor code
This commit is contained in:
@@ -59,8 +59,8 @@ type GetBlackListReq struct {
|
|||||||
}
|
}
|
||||||
type GetBlackListResp struct {
|
type GetBlackListResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
BlackUserInfoList []*open_im_sdk.PublicUserInfo
|
BlackUserInfoList []*open_im_sdk.PublicUserInfo `json:"-"`
|
||||||
Data []map[string]interface{} `json:"data"`
|
Data []map[string]interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
//type PublicUserInfo struct {
|
//type PublicUserInfo struct {
|
||||||
@@ -101,8 +101,8 @@ type GetFriendsInfoReq struct {
|
|||||||
}
|
}
|
||||||
type GetFriendsInfoResp struct {
|
type GetFriendsInfoResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
FriendInfoList []*open_im_sdk.FriendInfo
|
FriendInfoList []*open_im_sdk.FriendInfo `json:"-"`
|
||||||
Data []map[string]interface{} `json:"data"`
|
Data []map[string]interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetFriendListReq struct {
|
type GetFriendListReq struct {
|
||||||
@@ -111,8 +111,8 @@ type GetFriendListReq struct {
|
|||||||
}
|
}
|
||||||
type GetFriendListResp struct {
|
type GetFriendListResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
FriendInfoList []*open_im_sdk.FriendInfo
|
FriendInfoList []*open_im_sdk.FriendInfo `json:"-"`
|
||||||
Data []map[string]interface{} `json:"data"`
|
Data []map[string]interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetFriendApplyListReq struct {
|
type GetFriendApplyListReq struct {
|
||||||
@@ -121,8 +121,8 @@ type GetFriendApplyListReq struct {
|
|||||||
}
|
}
|
||||||
type GetFriendApplyListResp struct {
|
type GetFriendApplyListResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
FriendRequestList []*open_im_sdk.FriendRequest
|
FriendRequestList []*open_im_sdk.FriendRequest `json:"-"`
|
||||||
Data []map[string]interface{} `json:"data"`
|
Data []map[string]interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetSelfApplyListReq struct {
|
type GetSelfApplyListReq struct {
|
||||||
@@ -131,6 +131,6 @@ type GetSelfApplyListReq struct {
|
|||||||
}
|
}
|
||||||
type GetSelfApplyListResp struct {
|
type GetSelfApplyListResp struct {
|
||||||
CommResp
|
CommResp
|
||||||
FriendRequestList []*open_im_sdk.FriendRequest
|
FriendRequestList []*open_im_sdk.FriendRequest `json:"-"`
|
||||||
Data []map[string]interface{} `json:"data"`
|
Data []map[string]interface{} `json:"data"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user