company_service.proto 597 B

1234567891011121314151617
  1. syntax = "proto3";
  2. import "v1/company.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-garden/pb";
  7. // The system service definition.
  8. service Company {
  9. //
  10. rpc CompanyInfo(pb_v1.CompanyInfoRequest) returns (pb_v1.CompanyInfoReply){}
  11. rpc CompanyObjStatisticSet(pb_v1.CompanyObjStatisticSetRequest) returns (pb_v1.CompanyObjStatisticSetReply){}
  12. rpc CompanyDealStatisticSet(pb_v1.CompanyDealStatisticSetRequest) returns (pb_v1.CompanyDealStatisticSetReply){}
  13. }