update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-01-31 00:33:38 +08:00
parent 83cfcc80d6
commit 57c5621b5d
14 changed files with 1114 additions and 565 deletions

View File

@@ -10,34 +10,6 @@ service Splash {
rpc List (SplashReq) returns (SplashReply);
}
//-请求
message SplashReq {
//
int32 width = 1;
//
int32 height = 2;
//
string birth = 3;
//
string ad_extra = 4;
//
string network = 5;
}
//-响应
message SplashReply {
//
int32 max_time = 1;
//
int32 min_interval = 2;
//
int32 pull_interval = 3;
//
repeated SplashItem list = 4;
//
repeated ShowStrategy show = 5;
}
//
message ShowStrategy {
//
@@ -128,4 +100,32 @@ message SplashItem {
bool enable_pre_download = 38;
//
bool enable_background_download = 39;
}
}
//-响应
message SplashReply {
//
int32 max_time = 1;
//
int32 min_interval = 2;
//
int32 pull_interval = 3;
//
repeated SplashItem list = 4;
//
repeated ShowStrategy show = 5;
}
//-请求
message SplashReq {
//
int32 width = 1;
//
int32 height = 2;
//
string birth = 3;
//
string ad_extra = 4;
//
string network = 5;
}