120 lines
3.1 KiB
Protocol Buffer
120 lines
3.1 KiB
Protocol Buffer
syntax = "proto3";
|
||
|
||
package api.eonline.v1;
|
||
|
||
import "google/api/annotations.proto";
|
||
import "api/eonline/v1/pagsmile.proto";
|
||
|
||
option go_package = "sandc/api/eonline/v1;v1";
|
||
option java_multiple_files = true;
|
||
option java_package = "dev.kratos.api.eonline.v1";
|
||
option java_outer_classname = "EonlineProtoV1";
|
||
|
||
// The greeting service definition.
|
||
service Eonline {
|
||
// Sends a greeting,客户端暂未用到
|
||
rpc SayHello(HelloRequest) returns (HelloReply) {
|
||
option (google.api.http) = {
|
||
get: "/eonline4/{name}"
|
||
};
|
||
}
|
||
|
||
// PayInit
|
||
rpc PayInit(PayInitReq) returns (PayInitReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/pay/init"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// Payout,客户端暂未用到
|
||
rpc Payout(PayoutReq) returns (PayoutReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/payout"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// PayoutBrazil,用于巴西PIX支付
|
||
rpc PayoutBrazil(PayoutReq) returns (PayoutReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/payoutBrazil"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// PayoutCallback,客户端暂未用到
|
||
rpc PayoutCallback(PayoutCallbackReq) returns (PayoutCallbackReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/payout/callback"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// PayoutCheck
|
||
rpc PayoutCheck(PayoutCheckReq) returns (PayoutCheckReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/payout/check"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// 获取申请提现玩家的列表
|
||
rpc GetPayoutUserLst(PayoutUserLstReq) returns (PayoutUserLstReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/getPayoutUserLst"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// 设置指定玩家的提现状态
|
||
rpc SetPayoutStatus(PayoutStatusReq) returns (PayoutStatusReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/setPayoutStatus"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// SubmitCheck,客户端暂未用到
|
||
rpc SubmitCheck(SubmitCheckReq) returns (SubmitCheckReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/submitcheck"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// CheckInfo,客户端暂未用到
|
||
rpc CheckInfo(CheckInfoReq) returns (CheckInfoReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/checkinfo"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// 发送聊天消息,客户端暂未用到
|
||
rpc AddChat(AddChatReq) returns (AddChatReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/addchat"
|
||
body: "*"
|
||
};
|
||
}
|
||
|
||
// 获取聊天消息列表,客户端暂未用到
|
||
rpc GetChat(GetChatReq) returns (GetChatReply) {
|
||
option (google.api.http) = {
|
||
post: "/eonline4/getchat"
|
||
body: "*"
|
||
};
|
||
}
|
||
}
|
||
|
||
// The request message containing the user's name.
|
||
message HelloRequest {
|
||
string name = 1;
|
||
}
|
||
|
||
// The response message containing the greetings
|
||
message HelloReply {
|
||
string message = 1;
|
||
}
|