update 【gRPC API】 proto files

This commit is contained in:
社会易姐QwQ
2022-02-05 18:34:14 +08:00
parent 9c467bbebc
commit e572a207de
17 changed files with 3722 additions and 1422 deletions

View File

@@ -0,0 +1,42 @@
syntax = "proto3";
package bilibili.polymer.contract;
import "google/protobuf/empty.proto";
//
service Contract {
//
rpc AddContract(AddContractReq) returns (google.protobuf.Empty);
}
//
message AddContractReq {
//
CommonReq common = 1;
//
int64 mid = 2;
//
int64 up_mid = 3;
//
int64 aid = 4;
}
//
message CommonReq {
//
string platform = 1;
//
int32 build = 2;
//
string buvid = 3;
//
string mobi_app = 4;
//
string device = 5;
//
string ip = 6;
//
string spmid = 7;
}