Browse Source

add 删除好友

master
DengBiao 2 years ago
parent
commit
cd0331385d
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      gim/logic.ext.proto

+ 7
- 0
gim/logic.ext.proto View File

@@ -18,6 +18,8 @@ service LogicExt {
rpc AddFriend (AddFriendReq) returns (Empty);
// 同意添加好友
rpc AgreeAddFriend (AgreeAddFriendReq) returns (Empty);
// 删除好友
rpc DeleteFriend (DeleteFriendReq) returns (Empty);
// 设置好友信息
rpc SetFriend (SetFriendReq) returns (SetFriendResp);
// 获取好友列表
@@ -82,6 +84,11 @@ message AddFriendReq {
string description = 3; // 描述
}

message DeleteFriendReq {
int64 user_id = 1; // 用户id
}


message AgreeAddFriendReq {
int64 user_id = 1; // 用户id
string remarks = 2; // 备注


Loading…
Cancel
Save