household_service.proto 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. syntax = "proto3";
  2. import "v1/household.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-household/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. // 删除未审核的申请(小区被删,房屋被删,或房屋号信息被改)
  17. rpc HouseholdDelApply(pb_v1.HouseholdDelApplyRequest) returns (pb_v1.HouseholdDelApplyReply){}
  18. rpc HouseholdApprove(pb_v1.HouseholdApproveRequest) returns (pb_v1.HouseholdApproveReply){}
  19. rpc HouseholdList(pb_v1.HouseholdListRequest) returns (pb_v1.HouseholdListReply){}
  20. // 通过审核的业主信息列表
  21. rpc HouseholdUserList(pb_v1.HouseholdUserListRequest) returns (pb_v1.HouseholdUserListReply){}
  22. // 获取用户信息
  23. rpc UserInfo(pb_v1.UserInfoRequest) returns (pb_v1.UserInfoReply){}
  24. // 废弃
  25. rpc HouseholdGardenNameChange(pb_v1.HouseholdGardenNameChangeRequest) returns (pb_v1.HouseholdGardenNameChangeReply){}
  26. // 因房屋更新,需拒绝申请
  27. rpc HouseholdRefuse(pb_v1.HouseholdRefuseRequest) returns (pb_v1.HouseholdRefuseReply){}
  28. // 房屋租赁
  29. rpc HouseRentApply(pb_v1.HouseRentApplyRequest) returns (pb_v1.HouseRentApplyReply){}
  30. rpc HouseRentApprove(pb_v1.HouseRentApproveRequest) returns (pb_v1.HouseRentApproveReply){}
  31. rpc HouseRentUpdate(pb_v1.HouseRentUpdateRequest) returns (pb_v1.HouseRentUpdateReply){}
  32. rpc HouseRentDown(pb_v1.HouseRentDownRequest) returns (pb_v1.HouseRentDownReply){}
  33. rpc HouseRentList(pb_v1.HouseRentListRequest) returns (pb_v1.HouseRentListReply){}
  34. // 租房预约看房
  35. rpc HouseRentAppointmentAdd(pb_v1.HouseRentAppointmentAddRequest) returns (pb_v1.HouseRentAppointmentAddReply){}
  36. // 租房预约列表
  37. rpc HouseRentAppointmentList(pb_v1.HouseRentAppointmentListRequest) returns (pb_v1.HouseRentAppointmentListReply){}
  38. // 删除租房预约
  39. rpc HouseRentAppointmentDel(pb_v1.HouseRentAppointmentDelRequest) returns (pb_v1.HouseRentAppointmentDelReply){}
  40. rpc HouseRentAppointmentStatus(pb_v1.HouseRentAppointmentStatusRequest) returns (pb_v1.HouseRentAppointmentStatusReply){}
  41. // 因房屋,小区或单元信息变更需更新租房信息
  42. rpc HouseRentChangeField(pb_v1.HouseRentChangeFieldRequest) returns (pb_v1.HouseRentChangeFieldReply){}
  43. // 获取待审核的住户数量
  44. rpc HouseholdWaitCount(pb_v1.HouseholdWaitCountRequest) returns (pb_v1.HouseholdWaitCountReply){}
  45. // 添加用户公众号信息
  46. rpc UserWxPublicAdd(pb_v1.UserWxPublicAddRequest) returns (pb_v1.UserWxPublicAddReply){}
  47. // 对unionid为空的公众号账户获取unionid
  48. rpc WxPublicEmptyUnionId(pb_v1.WxPublicEmptyUnionIdRequest) returns (pb_v1.WxPublicEmptyUnionIdReply){}
  49. // 生成二维码
  50. rpc GateQcode(pb_v1.GateQcodeRequest) returns (pb_v1.GateQcodeReply){}
  51. // 住户退出房屋
  52. rpc HouseholdDelHouse(pb_v1.HouseholdDelHouseRequest) returns (pb_v1.HouseholdDelHouseReply){}
  53. }