-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
280 changed files
with
33,798 additions
and
11,003 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,5 @@ build/ | |
|
||
test_data.py | ||
.pdm-python | ||
login_cache.json | ||
test/http_pack/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
126 changes: 64 additions & 62 deletions
126
bilireq/grpc/protos/bilibili/account/fission/v1/fission.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,64 @@ | ||
syntax = "proto3"; | ||
|
||
package bilibili.account.fission.v1; | ||
|
||
// Fission裂变 | ||
service Fission { | ||
// 活动入口 | ||
rpc Entrance (EntranceReq) returns (EntranceReply); | ||
// 首页弹窗 | ||
rpc Window (WindowReq) returns (WindowReply); | ||
// | ||
rpc Privacy(PrivacyReq) returns (PrivacyReply); | ||
} | ||
|
||
// 动画效果 | ||
message AnimateIcon { | ||
// icon文件 | ||
string icon = 1; | ||
// 动效json文件 | ||
string json = 2; | ||
} | ||
|
||
// 活动入口-响应 | ||
message EntranceReply { | ||
// 展示图标 | ||
string icon = 1; | ||
// 活动名称 | ||
string name = 2; | ||
// 活动跳转链接 | ||
string url = 3; | ||
// 动画效果 | ||
AnimateIcon animate_icon = 4; | ||
} | ||
|
||
// 活动入口-请求 | ||
message EntranceReq {} | ||
|
||
// | ||
message PrivacyReply { | ||
// | ||
string message = 1; | ||
} | ||
|
||
// | ||
message PrivacyReq { | ||
// | ||
string activity_uid = 1; | ||
} | ||
|
||
//首页弹窗-响应 | ||
message WindowReply { | ||
// 弹窗类型 | ||
// 0:弹窗 1:普通页面 | ||
int32 type = 1; | ||
// 跳转链接 | ||
string url = 2; | ||
// 上报数据字段 | ||
string report_data = 3; | ||
} | ||
|
||
// 首页弹窗-请求 | ||
message WindowReq {} | ||
syntax = "proto3"; | ||
|
||
package bilibili.account.fission.v1; | ||
|
||
// Fission裂变 | ||
service Fission { | ||
// 活动入口 | ||
rpc Entrance (EntranceReq) returns (EntranceReply); | ||
// 首页弹窗 | ||
rpc Window (WindowReq) returns (WindowReply); | ||
// | ||
rpc Privacy (PrivacyReq) returns (PrivacyReply); | ||
} | ||
|
||
// 动画效果 | ||
message AnimateIcon { | ||
// icon文件 | ||
string icon = 1; | ||
// 动效json文件 | ||
string json = 2; | ||
} | ||
|
||
// 活动入口-响应 | ||
message EntranceReply { | ||
// 展示图标 | ||
string icon = 1; | ||
// 活动名称 | ||
string name = 2; | ||
// 活动跳转链接 | ||
string url = 3; | ||
// 动画效果 | ||
AnimateIcon animate_icon = 4; | ||
} | ||
|
||
// 活动入口-请求 | ||
message EntranceReq {} | ||
|
||
// | ||
message PrivacyReply { | ||
// | ||
string message = 1; | ||
} | ||
|
||
// | ||
message PrivacyReq { | ||
// | ||
string activity_uid = 1; | ||
} | ||
|
||
//首页弹窗-响应 | ||
message WindowReply { | ||
// 弹窗类型 | ||
// 0:弹窗 1:普通页面 | ||
int32 type = 1; | ||
// 跳转链接 | ||
string url = 2; | ||
// 上报数据字段 | ||
string report_data = 3; | ||
} | ||
|
||
// 首页弹窗-请求 | ||
message WindowReq { | ||
|
||
} |
41 changes: 21 additions & 20 deletions
41
bilireq/grpc/protos/bilibili/account/fission/v1/fission_pb2.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.