12345678910111213141516171819202122 |
- syntax = "proto3";
- import "v1/garden.proto";
- import "v1/household.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-household/pb";
- // The system service definition.
- service Garden {
- rpc HouseInfo(pb_v1.HouseInfoRequest) returns (pb_v1.HouseInfoReply){}
- rpc HouseholdSync(pb_v1.HouseholdSyncRequest) returns (pb_v1.HouseholdSyncReply){}
- rpc HouseholdChange(pb_v1.HouseholdChangeRequest) returns (pb_v1.HouseholdChangeReply){}
- // 同步租房信息
- rpc GardenHouseRentSync(pb_v1.GardenHouseRentSyncRequest) returns (pb_v1.GardenHouseRentSyncReply){}
- rpc GardenHouseRentList(pb_v1.GardenHouseRentListRequest) returns (pb_v1.GardenHouseRentListReply){}
- rpc RepairStatisticSet(pb_v1.RepairStatisticSetRequest) returns (pb_v1.RepairStatisticSetReply){}
- // 添加物业系统消息
- rpc SystemMsgAdd(pb_v1.SystemMsgAddRequest)returns (pb_v1.SystemMsgAddReply){}
- }
|