mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Refactor code
This commit is contained in:
parent
5fef41e132
commit
5c9dc62015
@ -111,8 +111,7 @@ type GetFriendListReq struct {
|
||||
}
|
||||
type GetFriendListResp struct {
|
||||
CommResp
|
||||
TestTime uint32 `json:"test_time"`
|
||||
FriendInfoList []*open_im_sdk.FriendInfo `json:"test_data"`
|
||||
FriendInfoList []*open_im_sdk.FriendInfo `json:"-"`
|
||||
Data []map[string]interface{} `json:"data"`
|
||||
}
|
||||
|
||||
|
@ -437,7 +437,7 @@ func (m *UserInfo) GetAppMangerLevel() int32 {
|
||||
type FriendInfo struct {
|
||||
OwnerUserID string `protobuf:"bytes,1,opt,name=OwnerUserID" json:"OwnerUserID,omitempty"`
|
||||
Remark string `protobuf:"bytes,2,opt,name=Remark" json:"Remark,omitempty"`
|
||||
CreateTime int64 `protobuf:"varint,3,opt,name=CreateTime" json:"CreateTime,omitempty"`
|
||||
CreateTime uint32 `protobuf:"varint,3,opt,name=CreateTime" json:"CreateTime,omitempty"`
|
||||
FriendUser *UserInfo `protobuf:"bytes,4,opt,name=FriendUser" json:"FriendUser,omitempty"`
|
||||
AddSource int32 `protobuf:"varint,5,opt,name=AddSource" json:"AddSource,omitempty"`
|
||||
OperatorUserID string `protobuf:"bytes,6,opt,name=OperatorUserID" json:"OperatorUserID,omitempty"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user