syntax = "proto3"; option go_package = "./inventory_order"; service inventoryOrderService { rpc CreateNewOrder(CreateNewOrderRequest) returns(CreateNewOrderResponse) {} } message CreateNewOrderRequest{ int64 OrderNumber = 1;//订购数量 string Unit = 2;//单位 string ProductId = 3; string Customer = 4;//客户编码 } message CreateNewOrderResponse{ int32 Code = 1; string Msg = 2; string OrderId = 3; }