You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
317 B
Protocol Buffer
20 lines
317 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package pb;
|
|
|
|
option go_package = "./pb";
|
|
|
|
// req
|
|
message CollectGift {
|
|
string platform = 1;
|
|
int64 giftId = 2;
|
|
string giftName = 3;
|
|
int64 totalCoin = 4;
|
|
}
|
|
|
|
message Empty {}
|
|
|
|
service gift {
|
|
// collectGift 收集礼物,仅作为收集使用
|
|
rpc collectGift(CollectGift) returns (Empty);
|
|
} |