更新部分proto结构体文件
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.app.show.gateway.v1;
|
||||
|
||||
import "bilibili/broadcast/message/main.proto";
|
||||
|
||||
//
|
||||
service AppShow {
|
||||
//
|
||||
//
|
||||
rpc getActProgress (GetActProgressReq) returns (GetActProgressReply);
|
||||
}
|
||||
|
||||
//-请求
|
||||
message GetActProgressReq {
|
||||
//
|
||||
int64 pageID = 1;
|
||||
|
||||
//
|
||||
int64 mid = 2;
|
||||
}
|
||||
|
||||
//-回复
|
||||
message GetActProgressReply {
|
||||
//
|
||||
bilibili.broadcast.message.main.NativePageEvent event = 1;
|
||||
}
|
||||
25
grpc_api/bilibili/app/show/gateway/v1/gateway.proto
Normal file
25
grpc_api/bilibili/app/show/gateway/v1/gateway.proto
Normal file
@@ -0,0 +1,25 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package bilibili.app.show.gateway.v1;
|
||||
|
||||
import "bilibili/broadcast/message/main/native.proto";
|
||||
|
||||
//
|
||||
service AppShow {
|
||||
// 获取Native页进度数据
|
||||
rpc GetActProgress (GetActProgressReq) returns (GetActProgressReply);
|
||||
}
|
||||
|
||||
// 获取Native页进度数据-请求
|
||||
message GetActProgressReq {
|
||||
// Native页id
|
||||
int64 pageID = 1;
|
||||
// 用户mid
|
||||
int64 mid = 2;
|
||||
}
|
||||
|
||||
// 获取Native页进度数据-响应
|
||||
message GetActProgressReply {
|
||||
// 进度数据
|
||||
bilibili.broadcast.message.main.NativePageEvent event = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user