youtu_grpc/app/ecpm/ecpm.proto
2025-02-14 10:30:15 +08:00

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);
}