2025-02-05 18:45:49 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
|
2025-02-14 17:30:53 +08:00
|
|
|
package ecpm_service;
|
2025-02-14 10:30:15 +08:00
|
|
|
option go_package="./ecpm";
|
2025-02-05 18:45:49 +08:00
|
|
|
|
|
|
|
message Request {
|
|
|
|
string ping = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message Response {
|
|
|
|
string pong = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GetEcpmRequest{
|
|
|
|
string appId =1;
|
|
|
|
string openId=2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message GetEcpmResponse{
|
|
|
|
bool ok =1;
|
|
|
|
}
|
|
|
|
|
2025-02-14 17:30:53 +08:00
|
|
|
service ecpm_service {
|
2025-02-05 18:45:49 +08:00
|
|
|
|
|
|
|
rpc Ping(Request) returns(Response);
|
|
|
|
|
|
|
|
rpc GetEcpm(GetEcpmRequest) returns(GetEcpmResponse);
|
|
|
|
}
|