From 280f69f7ee2cbb65e675fd79666b5f07d149215f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=80=E5=BF=83=E5=90=91=E6=99=9A?= <54094119+XiaoMiku01@users.noreply.github.com> Date: Sun, 5 Mar 2023 00:08:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E7=89=88=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E7=82=B9=E8=B5=9E=E8=BD=AC=E5=8F=91=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=20(#633)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bilibili/app/dynamic/v2/dynamic.proto | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/grpc_api/bilibili/app/dynamic/v2/dynamic.proto b/grpc_api/bilibili/app/dynamic/v2/dynamic.proto index a4ef1ce..2cb1474 100644 --- a/grpc_api/bilibili/app/dynamic/v2/dynamic.proto +++ b/grpc_api/bilibili/app/dynamic/v2/dynamic.proto @@ -41,6 +41,8 @@ service Dynamic { rpc LikeList(LikeListReq) returns (LikeListReply); // 转发列表 rpc RepostList(RepostListReq) returns (RepostListRsp); + // 新版动态转发点赞列表 需要登录 + rpc ReactionList(ReactionListReq) returns (ReactionListReply); // 空间页动态 rpc DynSpace(DynSpaceReq) returns (DynSpaceRsp); // 未登录页分区UP主推荐 @@ -3494,6 +3496,42 @@ message RepostListRsp { RepostType repost_type = 5; } +// 新版动态转发点赞列表-请求 +message ReactionListReq { + // 动态ID + int64 dynamic_id = 1; + // 动态类型 + int64 dyn_type = 2; + // 业务方资源id + int64 rid = 3; + // 偏移,使用上一页回包中的offset字段;第一页不传。 + string offset = 4; +} + +// 新版动态转发点赞列表-响应 +message ReactionListReply { + // 标题 + string title = 1; + // 列表 + repeated ReactionListItem list = 2; + // 偏移 + string offset = 3; + // 是否还有更多 + bool has_more = 4; +} + +message ReactionListItem { + // 用户信息 + UserInfo user = 1; + // 关注关系 + Relation relation = 2; + // 显示文字 + string act_text = 3; + // + string rcmd_reason = 4; + // bool has_relation = 5; + // bool has_user = 6; +} // 评论类型 enum RepostType { repost_hot = 0; // 热门评论