29 lines
419 B
Protocol Buffer
29 lines
419 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package douyin_ecpm_calculation_service;
|
|
option go_package="./ecpm";
|
|
|
|
message Request {
|
|
string ping = 1;
|
|
}
|
|
|
|
message Response {
|
|
string pong = 1;
|
|
}
|
|
|
|
message GetEcpmRequest{
|
|
string appId =1;
|
|
string openId=2;
|
|
}
|
|
|
|
message GetEcpmResponse{
|
|
bool ok =1;
|
|
}
|
|
|
|
service douyin_ecpm_calculation_service {
|
|
|
|
rpc Ping(Request) returns(Response);
|
|
|
|
rpc GetEcpm(GetEcpmRequest) returns(GetEcpmResponse);
|
|
}
|