1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- syntax = "proto3";
- import "v1/household.proto";
- // package声明符,用来防止不同的消息类型有命名冲突
- package pb.service;
- // 用于生成指定语言go的包名称
- option go_package = "property-household/pb";
- // The system service definition.
- service Household {
- //
- rpc Login(pb_v1.LoginRequest) returns (pb_v1.LoginReply){}
- // 获取业主的房屋
- rpc HouseholdHouses(pb_v1.HouseholdHousesRequest) returns (pb_v1.HouseholdHousesReply){}
- rpc RealNameAuth(pb_v1.RealNameAuthRequest) returns (pb_v1.RealNameAuthReply){}
- rpc UserUpdateNickName(pb_v1.UserUpdateNickNameRequest) returns (pb_v1.UserUpdateNickNameReply){}
- rpc HouseholdApply(pb_v1.HouseholdApplyRequest) returns (pb_v1.HouseholdApplyReply){}
- // 删除未审核的申请(小区被删,房屋被删,或房屋号信息被改)
- rpc HouseholdDelApply(pb_v1.HouseholdDelApplyRequest) returns (pb_v1.HouseholdDelApplyReply){}
- rpc HouseholdApprove(pb_v1.HouseholdApproveRequest) returns (pb_v1.HouseholdApproveReply){}
- rpc HouseholdList(pb_v1.HouseholdListRequest) returns (pb_v1.HouseholdListReply){}
- // 通过审核的业主信息列表
- rpc HouseholdUserList(pb_v1.HouseholdUserListRequest) returns (pb_v1.HouseholdUserListReply){}
- // 获取用户信息
- rpc UserInfo(pb_v1.UserInfoRequest) returns (pb_v1.UserInfoReply){}
- // 废弃
- rpc HouseholdGardenNameChange(pb_v1.HouseholdGardenNameChangeRequest) returns (pb_v1.HouseholdGardenNameChangeReply){}
- // 因房屋更新,需拒绝申请
- rpc HouseholdRefuse(pb_v1.HouseholdRefuseRequest) returns (pb_v1.HouseholdRefuseReply){}
- // 房屋租赁
- rpc HouseRentApply(pb_v1.HouseRentApplyRequest) returns (pb_v1.HouseRentApplyReply){}
- rpc HouseRentApprove(pb_v1.HouseRentApproveRequest) returns (pb_v1.HouseRentApproveReply){}
- rpc HouseRentUpdate(pb_v1.HouseRentUpdateRequest) returns (pb_v1.HouseRentUpdateReply){}
- rpc HouseRentDown(pb_v1.HouseRentDownRequest) returns (pb_v1.HouseRentDownReply){}
- rpc HouseRentList(pb_v1.HouseRentListRequest) returns (pb_v1.HouseRentListReply){}
- // 租房预约看房
- rpc HouseRentAppointmentAdd(pb_v1.HouseRentAppointmentAddRequest) returns (pb_v1.HouseRentAppointmentAddReply){}
- // 租房预约列表
- rpc HouseRentAppointmentList(pb_v1.HouseRentAppointmentListRequest) returns (pb_v1.HouseRentAppointmentListReply){}
- // 删除租房预约
- rpc HouseRentAppointmentDel(pb_v1.HouseRentAppointmentDelRequest) returns (pb_v1.HouseRentAppointmentDelReply){}
- rpc HouseRentAppointmentStatus(pb_v1.HouseRentAppointmentStatusRequest) returns (pb_v1.HouseRentAppointmentStatusReply){}
- // 因房屋,小区或单元信息变更需更新租房信息
- rpc HouseRentChangeField(pb_v1.HouseRentChangeFieldRequest) returns (pb_v1.HouseRentChangeFieldReply){}
- // 获取待审核的住户数量
- rpc HouseholdWaitCount(pb_v1.HouseholdWaitCountRequest) returns (pb_v1.HouseholdWaitCountReply){}
- // 添加用户公众号信息
- rpc UserWxPublicAdd(pb_v1.UserWxPublicAddRequest) returns (pb_v1.UserWxPublicAddReply){}
- // 对unionid为空的公众号账户获取unionid
- rpc WxPublicEmptyUnionId(pb_v1.WxPublicEmptyUnionIdRequest) returns (pb_v1.WxPublicEmptyUnionIdReply){}
- // 生成二维码
- rpc GateQcode(pb_v1.GateQcodeRequest) returns (pb_v1.GateQcodeReply){}
- // 住户退出房屋
- rpc HouseholdDelHouse(pb_v1.HouseholdDelHouseRequest) returns (pb_v1.HouseholdDelHouseReply){}
- }
|