- syntax = "proto3";
- import "v1/company.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-system/pb";
- // The system service definition.
- service Company {
- // 小区审批未通过时数量减1
- rpc CompanyGardenDecrease(pb_v1.CompanyGardenDecreaseRequest) returns (pb_v1.CompanyGardenDecreaseReply){}
- rpc CompanyObjStatisticSet(pb_v1.CompanyObjStatisticSetRequest) returns (pb_v1.CompanyObjStatisticSetReply){}
- }
|