youtu_grpc/douyin_ecpm_calculation_service/douyin_ecpm_calculation_service.proto

29 lines
446 B
Protocol Buffer
Raw Normal View History

2025-02-05 18:45:49 +08:00
syntax = "proto3";
package douyin_ecpm_calculation_service;
option go_package="./douyin_ecpm_calculation_service";
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);
}