2021-06-11 01:03:04 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package bilibili.account.fission.v1;
|
|
|
|
|
2022-02-05 18:34:14 +08:00
|
|
|
// Fission裂变
|
2021-06-11 01:03:04 +08:00
|
|
|
service Fission {
|
|
|
|
// 活动入口
|
|
|
|
rpc Entrance (EntranceReq) returns (EntranceReply);
|
|
|
|
// 首页弹窗
|
|
|
|
rpc Window (WindowReq) returns (WindowReply);
|
2022-09-15 18:00:56 +08:00
|
|
|
//
|
|
|
|
rpc Privacy(PrivacyReq) returns (PrivacyReply);
|
2021-06-11 01:03:04 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:00:56 +08:00
|
|
|
// 动画效果
|
|
|
|
message AnimateIcon {
|
|
|
|
// icon文件
|
|
|
|
string icon = 1;
|
|
|
|
// 动效json文件
|
|
|
|
string json = 2;
|
|
|
|
}
|
2021-06-11 01:03:04 +08:00
|
|
|
|
|
|
|
// 活动入口-响应
|
|
|
|
message EntranceReply {
|
|
|
|
// 展示图标
|
|
|
|
string icon = 1;
|
|
|
|
// 活动名称
|
|
|
|
string name = 2;
|
|
|
|
// 活动跳转链接
|
|
|
|
string url = 3;
|
|
|
|
// 动画效果
|
2021-07-12 16:37:03 +08:00
|
|
|
AnimateIcon animate_icon = 4;
|
2021-06-11 01:03:04 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:00:56 +08:00
|
|
|
// 活动入口-请求
|
|
|
|
message EntranceReq {}
|
|
|
|
|
|
|
|
//
|
|
|
|
message PrivacyReply {
|
|
|
|
//
|
|
|
|
string message = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
//
|
|
|
|
message PrivacyReq {
|
|
|
|
//
|
|
|
|
string activity_uid = 1;
|
|
|
|
}
|
2021-06-11 01:03:04 +08:00
|
|
|
|
|
|
|
//首页弹窗-响应
|
|
|
|
message WindowReply {
|
|
|
|
// 弹窗类型
|
|
|
|
// 0:弹窗 1:普通页面
|
|
|
|
int32 type = 1;
|
|
|
|
// 跳转链接
|
|
|
|
string url = 2;
|
|
|
|
// 上报数据字段
|
2021-07-12 16:37:03 +08:00
|
|
|
string report_data = 3;
|
2021-06-11 01:03:04 +08:00
|
|
|
}
|
|
|
|
|
2022-09-15 18:00:56 +08:00
|
|
|
// 首页弹窗-请求
|
|
|
|
message WindowReq {}
|