household_service.proto 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. syntax = "proto3";
  2. import "v1/household.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-household-gateway/pb";
  7. // The system service definition.
  8. service Household {
  9. //
  10. rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){}
  11. // 获取住户房屋列表
  12. rpc HouseholdHouses(pb_v1.HouseholdHousesRequest) returns (pb_v1.HouseholdHousesReply){}
  13. rpc RealNameAuth(pb_v1.RealNameAuthRequest) returns (pb_v1.RealNameAuthReply){}
  14. rpc UserUpdateNickName(pb_v1.UserUpdateNickNameRequest) returns (pb_v1.UserUpdateNickNameReply){}
  15. rpc HouseholdApply(pb_v1.HouseholdApplyRequest) returns (pb_v1.HouseholdApplyReply){}
  16. rpc HouseholdApprove(pb_v1.HouseholdApproveRequest) returns (pb_v1.HouseholdApproveReply){}
  17. rpc HouseholdList(pb_v1.HouseholdListRequest) returns (pb_v1.HouseholdListReply){}
  18. rpc UserInfo(pb_v1.UserInfoRequest) returns (pb_v1.UserInfoReply){}
  19. // 房屋租赁
  20. rpc HouseRentApply(pb_v1.HouseRentApplyRequest) returns (pb_v1.HouseRentApplyReply){}
  21. rpc HouseRentUpdate(pb_v1.HouseRentUpdateRequest) returns (pb_v1.HouseRentUpdateReply){}
  22. rpc HouseRentDown(pb_v1.HouseRentDownRequest) returns (pb_v1.HouseRentDownReply){}
  23. rpc HouseRentList(pb_v1.HouseRentListRequest) returns (pb_v1.HouseRentListReply){}
  24. rpc GateQcode(pb_v1.GateQcodeRequest) returns (pb_v1.GateQcodeReply){}
  25. // 租房预约看房
  26. rpc HouseRentAppointmentAdd(pb_v1.HouseRentAppointmentAddRequest) returns (pb_v1.HouseRentAppointmentAddReply){}
  27. // 租房预约列表
  28. rpc HouseRentAppointmentList(pb_v1.HouseRentAppointmentListRequest) returns (pb_v1.HouseRentAppointmentListReply){}
  29. // 删除租房预约
  30. rpc HouseRentAppointmentDel(pb_v1.HouseRentAppointmentDelRequest) returns (pb_v1.HouseRentAppointmentDelReply){}
  31. }