From befb9d3bd43b33a8fad1497e6e2a6e38b10212de 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: Sat, 31 Dec 2022 18:37:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=86=E9=A2=91=E8=AF=84?= =?UTF-8?q?=E8=AE=BA=20`grpc`=20=E6=8E=A5=E5=8F=A3=E4=B8=AD=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E7=9B=B8=E5=85=B3=E5=AD=97=E6=AE=B5=20(#565)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 更新 `契约` 相关 proto 目录结构 * 增加视频评论`grpc`接口中图片相关字段 --- .../bilibili/main/community/reply/v1/reply.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/grpc_api/bilibili/main/community/reply/v1/reply.proto b/grpc_api/bilibili/main/community/reply/v1/reply.proto index 6ed267e..e702d8f 100644 --- a/grpc_api/bilibili/main/community/reply/v1/reply.proto +++ b/grpc_api/bilibili/main/community/reply/v1/reply.proto @@ -113,6 +113,20 @@ message Content { map at_name_to_mid = 7; // 富文本 RichText rich_text = 8; + // 评论图片 + repeated Picture pictures = 9; +} + +// 图片信息 +message Picture { + // 图片URL + string img_src = 1; + // 图片宽度 + double img_width = 2; + // 图片高度 + double img_height = 3; + // 图片大小,单位KB + double img_size = 4; } // 页面游标回复