From cd0331385dcea2e3a39298ef00fdb321224c944c Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 28 Nov 2022 14:48:23 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=88=A0=E9=99=A4=E5=A5=BD=E5=8F=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gim/logic.ext.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gim/logic.ext.proto b/gim/logic.ext.proto index b35248c..9581974 100644 --- a/gim/logic.ext.proto +++ b/gim/logic.ext.proto @@ -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; // 备注