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