Refactor code

This commit is contained in:
wenxu12345
2021-12-29 10:18:10 +08:00
parent 3737e889ea
commit b30cb5254e
3 changed files with 26 additions and 68 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ type GetFriendApplyListReq struct {
}
type GetFriendApplyListResp struct {
CommResp
FriendRequestList open_im_sdk.FriendRequest `json:"data"`
FriendRequestList []*open_im_sdk.FriendRequest `json:"data"`
}
type GetSelfApplyListReq struct {
@@ -120,5 +120,5 @@ type GetSelfApplyListReq struct {
}
type GetSelfApplyListResp struct {
CommResp
FriendRequestList open_im_sdk.FriendRequest `json:"data"`
FriendRequestList []*open_im_sdk.FriendRequest `json:"data"`
}