Refactor code

pull/131/head
wenxu12345 3 years ago
parent 29e2a00109
commit 06af2b6aa3

@ -59,7 +59,7 @@ 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"`
} }
@ -101,7 +101,7 @@ 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"`
} }
@ -111,7 +111,7 @@ 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"`
} }
@ -121,7 +121,7 @@ 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"`
} }
@ -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"`
} }

Loading…
Cancel
Save