- syntax = "proto3";
- import "v1/household.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb";
- // The system service definition.
- service Household {
- rpc HouseholdGardenNameChange(pb_v1.HouseholdGardenNameChangeRequest) returns (pb_v1.HouseholdGardenNameChangeReply){}
- // 因房屋更新,需拒绝申请
- rpc HouseholdRefuse(pb_v1.HouseholdRefuseRequest) returns (pb_v1.HouseholdRefuseReply){}
- }
|