syntax = "proto3"; service Predict { rpc PayDay(RequestPay) returns (Reply) {} rpc GiftDay(RequestGift) returns (Reply) {} } // Request 统一Request请求 message RequestPay { // count, total_coin , (total_coin - last_total_coin) , v1[2] , v2[2]] // 24小时 int32 Hour = 1; int64 Coin = 2; int64 YesterdayCoin = 3; } // RequestGift 统一Request请求 message RequestGift { } // Reply 统一Reply 响应 message Reply { }