syntax = "proto3"; option csharp_namespace = "XYY.gRpc.Order"; package order; service ZipCodePush{ rpc GetWaitPush(Empty) returns(WaitPush); rpc Push(WaitPush) returns(PushResult); } message Empty{ } message WaitPushItem{ int32 Id =1 ; string ZipCode=2; string Area=3; } message WaitPush{ repeated WaitPushItem Items=1; } message PushResult{ int32 code = 1; bool success = 2; string error = 3; string message = 4; }