garden_service.proto 586 B

123456789101112131415161718
  1. syntax = "proto3";
  2. import "v1/fee.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-task/pb";
  7. // The system service definition.
  8. service Garden {
  9. // 生成账单
  10. rpc GenerateBill(pb_v1.GenerateBillRequest)returns (pb_v1.GenerateBillReply){}
  11. rpc ChargeUrgeInfo(pb_v1.ChargeUrgeInfoRequest) returns (pb_v1.ChargeUrgeInfoReply){}
  12. // 获取催缴信息
  13. rpc GenerateReminder(pb_v1.GenerateReminderRequest)returns (pb_v1.GenerateReminderReply){}
  14. }