// Code generated by protoc-gen-go. DO NOT EDIT. // source: household_service.proto // package声明符,用来防止不同的消息类型有命名冲突 package pb import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" v1 "property-household/pb/v1" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("household_service.proto", fileDescriptor_29439a8e98771332) } var fileDescriptor_29439a8e98771332 = []byte{ // 643 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x96, 0xdf, 0x6f, 0xd3, 0x3e, 0x14, 0xc5, 0xbf, 0x2f, 0x5f, 0xc4, 0x2c, 0x7e, 0xed, 0xb2, 0xd1, 0xad, 0xac, 0xa3, 0x1a, 0x6c, 0xf0, 0x42, 0xa7, 0xc2, 0x1b, 0x12, 0x0f, 0x63, 0x65, 0xa3, 0x52, 0x35, 0xa0, 0xa8, 0x1a, 0xe2, 0x81, 0x29, 0x6d, 0xee, 0xda, 0x40, 0x1a, 0x9b, 0xc4, 0x29, 0xf4, 0x95, 0xbf, 0x1c, 0x39, 0x8e, 0x5d, 0x27, 0x76, 0xd2, 0xbd, 0x65, 0xe7, 0x1c, 0x7f, 0x9c, 0xeb, 0xdc, 0x3b, 0x97, 0x34, 0x66, 0x34, 0x4d, 0x70, 0x46, 0x43, 0xff, 0x2a, 0xc1, 0x78, 0x11, 0x4c, 0xb0, 0xc3, 0x62, 0xca, 0x29, 0x10, 0x36, 0xee, 0xe4, 0x4a, 0x13, 0x16, 0xdd, 0x63, 0x9d, 0x93, 0xfe, 0xab, 0xbf, 0x40, 0x36, 0x3e, 0x28, 0x0d, 0xba, 0xe4, 0xff, 0x01, 0x9d, 0x06, 0x11, 0x3c, 0xec, 0xb0, 0xf1, 0xd5, 0xa2, 0xdb, 0xc9, 0xfe, 0x1a, 0xe2, 0xaf, 0x14, 0x13, 0xde, 0xdc, 0x2c, 0x8a, 0x2c, 0x5c, 0x1e, 0xfc, 0x07, 0x1f, 0xc9, 0x7d, 0xbd, 0x3e, 0x7b, 0x48, 0xa0, 0x95, 0xe7, 0x4a, 0xba, 0xc2, 0x3c, 0xae, 0xb2, 0x25, 0xf0, 0x8c, 0xdc, 0x19, 0xa2, 0x17, 0x5e, 0x78, 0x73, 0x3c, 0x49, 0xf9, 0x0c, 0x9a, 0x79, 0xdc, 0x14, 0x15, 0x6a, 0xc7, 0xe9, 0x49, 0xce, 0x57, 0x02, 0xa3, 0x04, 0xe3, 0x11, 0xf3, 0x3d, 0x8e, 0x17, 0xc1, 0xe4, 0xa7, 0x08, 0x40, 0x3b, 0x5f, 0x61, 0x5b, 0x8a, 0xb9, 0x5f, 0x93, 0x90, 0xe4, 0x01, 0xb9, 0xa7, 0xdf, 0xfd, 0x84, 0xb1, 0x70, 0x09, 0x7b, 0xe5, 0x92, 0x32, 0x59, 0x11, 0x9b, 0x15, 0xae, 0xa4, 0x8d, 0xc8, 0xa6, 0x36, 0x7a, 0x18, 0x4a, 0xe0, 0x93, 0xf2, 0x12, 0xe5, 0x28, 0x66, 0xab, 0x3a, 0x20, 0xb1, 0x43, 0xf2, 0xc0, 0xdc, 0x2f, 0xa6, 0x0b, 0x84, 0x7d, 0xc7, 0x8b, 0x08, 0x43, 0x41, 0xf7, 0x2a, 0x7d, 0xc9, 0xec, 0x93, 0xbb, 0xda, 0x1a, 0x04, 0x09, 0x07, 0xeb, 0x53, 0x0a, 0x55, 0xd1, 0x76, 0xdd, 0xa6, 0x5d, 0xb5, 0x38, 0xe9, 0x0c, 0x67, 0x55, 0xad, 0x9c, 0xca, 0xaa, 0x57, 0x01, 0x89, 0x7d, 0x43, 0x6e, 0x0b, 0xa9, 0x1f, 0x5d, 0x53, 0x78, 0x64, 0x7c, 0x48, 0x21, 0x28, 0xc8, 0x96, 0xa5, 0xcb, 0xb5, 0x73, 0xb2, 0xab, 0xb9, 0xe7, 0x5e, 0xec, 0x63, 0x24, 0x3e, 0xfa, 0xe9, 0xcc, 0x8b, 0xa6, 0x08, 0xcf, 0xcb, 0x3b, 0x97, 0x13, 0x8a, 0x7e, 0xb8, 0x3e, 0x68, 0x0f, 0xce, 0x10, 0xaf, 0xd3, 0x04, 0xed, 0xc1, 0x91, 0x7a, 0xe5, 0xe0, 0x28, 0xbb, 0xd8, 0x96, 0x43, 0x8c, 0xb8, 0xa3, 0x2d, 0xb5, 0xec, 0x6c, 0x4b, 0xc3, 0x2d, 0xf6, 0x4f, 0x6e, 0xd8, 0xfd, 0x63, 0x18, 0xce, 0xfe, 0x29, 0xf8, 0xc5, 0x92, 0x85, 0x25, 0x47, 0xab, 0x58, 0xf2, 0x4a, 0x77, 0x96, 0x6c, 0xda, 0xc5, 0x86, 0x14, 0x4e, 0x8f, 0xfe, 0x8e, 0xc0, 0xca, 0x0b, 0xd5, 0xd9, 0x90, 0x2b, 0xd3, 0x46, 0xd9, 0xbd, 0xad, 0xd4, 0x4a, 0x94, 0xd9, 0x84, 0x53, 0xd2, 0x30, 0x4f, 0x80, 0x06, 0x11, 0x9f, 0x8b, 0x47, 0xdf, 0x87, 0x43, 0xc7, 0x09, 0x19, 0xbe, 0xc2, 0x3f, 0x5d, 0x17, 0x93, 0x1b, 0xfd, 0x20, 0x3b, 0xae, 0x44, 0xf6, 0xfa, 0x47, 0x35, 0x08, 0xb3, 0x92, 0x67, 0x6b, 0x73, 0xb5, 0x45, 0xf5, 0x30, 0xac, 0x2d, 0xaa, 0x87, 0xe1, 0x4d, 0x8a, 0xca, 0x62, 0x72, 0x23, 0x46, 0x9a, 0xae, 0xc4, 0x17, 0xee, 0xf1, 0x34, 0x81, 0x17, 0x35, 0x10, 0x19, 0x51, 0xdb, 0x1d, 0xdd, 0x20, 0x29, 0x77, 0xfc, 0x4e, 0xb6, 0x74, 0x48, 0xce, 0xe8, 0x59, 0x80, 0xa1, 0x0f, 0x07, 0x65, 0x82, 0x61, 0xaa, 0x5d, 0xda, 0xb5, 0x19, 0x7d, 0x13, 0xe9, 0x91, 0xbd, 0xf4, 0x02, 0x7e, 0x4a, 0xd3, 0x88, 0x43, 0xbb, 0x3c, 0xcd, 0xda, 0x2a, 0xdf, 0x44, 0xae, 0x84, 0x1e, 0x28, 0xf1, 0x5f, 0xec, 0xf2, 0xcf, 0xa7, 0x74, 0x1c, 0x06, 0x13, 0xd1, 0x61, 0x2d, 0xe3, 0xbf, 0x9b, 0xa1, 0x97, 0x07, 0xca, 0xb2, 0xf5, 0x51, 0x28, 0xf5, 0xfd, 0x9c, 0xf1, 0xe5, 0x28, 0x0a, 0x68, 0xd4, 0x5f, 0x1d, 0x85, 0xcb, 0x2c, 0x1f, 0x85, 0x3b, 0x23, 0xf9, 0x6f, 0xc9, 0xc6, 0xb9, 0xc7, 0xf1, 0xf3, 0x84, 0xfa, 0x08, 0x8d, 0x7c, 0x81, 0x56, 0x14, 0x69, 0xdb, 0x36, 0x9c, 0x77, 0x65, 0xf6, 0xec, 0xbc, 0x2b, 0xf3, 0xcf, 0x51, 0x7d, 0x57, 0xe6, 0x81, 0x0c, 0xfb, 0xae, 0xf1, 0x6d, 0x9b, 0xc5, 0x94, 0x61, 0xcc, 0x97, 0x2f, 0xf5, 0x0f, 0xa4, 0x63, 0x36, 0x1e, 0xdf, 0xca, 0x7e, 0x24, 0xbd, 0xfe, 0x17, 0x00, 0x00, 0xff, 0xff, 0x8b, 0xb9, 0xc8, 0xf5, 0x5f, 0x09, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // HouseholdClient is the client API for Household service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type HouseholdClient interface { // Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) // 获取业主的房屋 HouseholdHouses(ctx context.Context, in *v1.HouseholdHousesRequest, opts ...grpc.CallOption) (*v1.HouseholdHousesReply, error) RealNameAuth(ctx context.Context, in *v1.RealNameAuthRequest, opts ...grpc.CallOption) (*v1.RealNameAuthReply, error) UserUpdateNickName(ctx context.Context, in *v1.UserUpdateNickNameRequest, opts ...grpc.CallOption) (*v1.UserUpdateNickNameReply, error) HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error) // 删除未审核的申请(小区被删,房屋被删,或房屋号信息被改) HouseholdDelApply(ctx context.Context, in *v1.HouseholdDelApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdDelApplyReply, error) HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error) HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error) // 通过审核的业主信息列表 HouseholdUserList(ctx context.Context, in *v1.HouseholdUserListRequest, opts ...grpc.CallOption) (*v1.HouseholdUserListReply, error) // 获取用户信息 UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) // 废弃 HouseholdGardenNameChange(ctx context.Context, in *v1.HouseholdGardenNameChangeRequest, opts ...grpc.CallOption) (*v1.HouseholdGardenNameChangeReply, error) // 因房屋更新,需拒绝申请 HouseholdRefuse(ctx context.Context, in *v1.HouseholdRefuseRequest, opts ...grpc.CallOption) (*v1.HouseholdRefuseReply, error) // 房屋租赁 HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error) HouseRentApprove(ctx context.Context, in *v1.HouseRentApproveRequest, opts ...grpc.CallOption) (*v1.HouseRentApproveReply, error) HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error) HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error) HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error) // 租房预约看房 HouseRentAppointmentAdd(ctx context.Context, in *v1.HouseRentAppointmentAddRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentAddReply, error) // 租房预约列表 HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error) // 删除租房预约 HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error) HouseRentAppointmentStatus(ctx context.Context, in *v1.HouseRentAppointmentStatusRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentStatusReply, error) // 因房屋,小区或单元信息变更需更新租房信息 HouseRentChangeField(ctx context.Context, in *v1.HouseRentChangeFieldRequest, opts ...grpc.CallOption) (*v1.HouseRentChangeFieldReply, error) // 获取待审核的住户数量 HouseholdWaitCount(ctx context.Context, in *v1.HouseholdWaitCountRequest, opts ...grpc.CallOption) (*v1.HouseholdWaitCountReply, error) // 添加用户公众号信息 UserWxPublicAdd(ctx context.Context, in *v1.UserWxPublicAddRequest, opts ...grpc.CallOption) (*v1.UserWxPublicAddReply, error) // 对unionid为空的公众号账户获取unionid WxPublicEmptyUnionId(ctx context.Context, in *v1.WxPublicEmptyUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicEmptyUnionIdReply, error) // 生成二维码 GateQcode(ctx context.Context, in *v1.GateQcodeRequest, opts ...grpc.CallOption) (*v1.GateQcodeReply, error) // 住户退出房屋 HouseholdDelHouse(ctx context.Context, in *v1.HouseholdDelHouseRequest, opts ...grpc.CallOption) (*v1.HouseholdDelHouseReply, error) } type householdClient struct { cc grpc.ClientConnInterface } func NewHouseholdClient(cc grpc.ClientConnInterface) HouseholdClient { return &householdClient{cc} } func (c *householdClient) Login(ctx context.Context, in *v1.LoginRequest, opts ...grpc.CallOption) (*v1.LoginReply, error) { out := new(v1.LoginReply) err := c.cc.Invoke(ctx, "/pb.service.Household/Login", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdHouses(ctx context.Context, in *v1.HouseholdHousesRequest, opts ...grpc.CallOption) (*v1.HouseholdHousesReply, error) { out := new(v1.HouseholdHousesReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdHouses", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) RealNameAuth(ctx context.Context, in *v1.RealNameAuthRequest, opts ...grpc.CallOption) (*v1.RealNameAuthReply, error) { out := new(v1.RealNameAuthReply) err := c.cc.Invoke(ctx, "/pb.service.Household/RealNameAuth", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) UserUpdateNickName(ctx context.Context, in *v1.UserUpdateNickNameRequest, opts ...grpc.CallOption) (*v1.UserUpdateNickNameReply, error) { out := new(v1.UserUpdateNickNameReply) err := c.cc.Invoke(ctx, "/pb.service.Household/UserUpdateNickName", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdApply(ctx context.Context, in *v1.HouseholdApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdApplyReply, error) { out := new(v1.HouseholdApplyReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdDelApply(ctx context.Context, in *v1.HouseholdDelApplyRequest, opts ...grpc.CallOption) (*v1.HouseholdDelApplyReply, error) { out := new(v1.HouseholdDelApplyReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdDelApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdApprove(ctx context.Context, in *v1.HouseholdApproveRequest, opts ...grpc.CallOption) (*v1.HouseholdApproveReply, error) { out := new(v1.HouseholdApproveReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdList(ctx context.Context, in *v1.HouseholdListRequest, opts ...grpc.CallOption) (*v1.HouseholdListReply, error) { out := new(v1.HouseholdListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdUserList(ctx context.Context, in *v1.HouseholdUserListRequest, opts ...grpc.CallOption) (*v1.HouseholdUserListReply, error) { out := new(v1.HouseholdUserListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdUserList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) UserInfo(ctx context.Context, in *v1.UserInfoRequest, opts ...grpc.CallOption) (*v1.UserInfoReply, error) { out := new(v1.UserInfoReply) err := c.cc.Invoke(ctx, "/pb.service.Household/UserInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdGardenNameChange(ctx context.Context, in *v1.HouseholdGardenNameChangeRequest, opts ...grpc.CallOption) (*v1.HouseholdGardenNameChangeReply, error) { out := new(v1.HouseholdGardenNameChangeReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdGardenNameChange", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdRefuse(ctx context.Context, in *v1.HouseholdRefuseRequest, opts ...grpc.CallOption) (*v1.HouseholdRefuseReply, error) { out := new(v1.HouseholdRefuseReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdRefuse", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentApply(ctx context.Context, in *v1.HouseRentApplyRequest, opts ...grpc.CallOption) (*v1.HouseRentApplyReply, error) { out := new(v1.HouseRentApplyReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentApprove(ctx context.Context, in *v1.HouseRentApproveRequest, opts ...grpc.CallOption) (*v1.HouseRentApproveReply, error) { out := new(v1.HouseRentApproveReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentUpdate(ctx context.Context, in *v1.HouseRentUpdateRequest, opts ...grpc.CallOption) (*v1.HouseRentUpdateReply, error) { out := new(v1.HouseRentUpdateReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentUpdate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentDown(ctx context.Context, in *v1.HouseRentDownRequest, opts ...grpc.CallOption) (*v1.HouseRentDownReply, error) { out := new(v1.HouseRentDownReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentDown", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentList(ctx context.Context, in *v1.HouseRentListRequest, opts ...grpc.CallOption) (*v1.HouseRentListReply, error) { out := new(v1.HouseRentListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentAdd(ctx context.Context, in *v1.HouseRentAppointmentAddRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentAddReply, error) { out := new(v1.HouseRentAppointmentAddReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentList(ctx context.Context, in *v1.HouseRentAppointmentListRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentListReply, error) { out := new(v1.HouseRentAppointmentListReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentDel(ctx context.Context, in *v1.HouseRentAppointmentDelRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentDelReply, error) { out := new(v1.HouseRentAppointmentDelReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentAppointmentStatus(ctx context.Context, in *v1.HouseRentAppointmentStatusRequest, opts ...grpc.CallOption) (*v1.HouseRentAppointmentStatusReply, error) { out := new(v1.HouseRentAppointmentStatusReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentAppointmentStatus", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseRentChangeField(ctx context.Context, in *v1.HouseRentChangeFieldRequest, opts ...grpc.CallOption) (*v1.HouseRentChangeFieldReply, error) { out := new(v1.HouseRentChangeFieldReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseRentChangeField", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdWaitCount(ctx context.Context, in *v1.HouseholdWaitCountRequest, opts ...grpc.CallOption) (*v1.HouseholdWaitCountReply, error) { out := new(v1.HouseholdWaitCountReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdWaitCount", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) UserWxPublicAdd(ctx context.Context, in *v1.UserWxPublicAddRequest, opts ...grpc.CallOption) (*v1.UserWxPublicAddReply, error) { out := new(v1.UserWxPublicAddReply) err := c.cc.Invoke(ctx, "/pb.service.Household/UserWxPublicAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) WxPublicEmptyUnionId(ctx context.Context, in *v1.WxPublicEmptyUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicEmptyUnionIdReply, error) { out := new(v1.WxPublicEmptyUnionIdReply) err := c.cc.Invoke(ctx, "/pb.service.Household/WxPublicEmptyUnionId", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) GateQcode(ctx context.Context, in *v1.GateQcodeRequest, opts ...grpc.CallOption) (*v1.GateQcodeReply, error) { out := new(v1.GateQcodeReply) err := c.cc.Invoke(ctx, "/pb.service.Household/GateQcode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *householdClient) HouseholdDelHouse(ctx context.Context, in *v1.HouseholdDelHouseRequest, opts ...grpc.CallOption) (*v1.HouseholdDelHouseReply, error) { out := new(v1.HouseholdDelHouseReply) err := c.cc.Invoke(ctx, "/pb.service.Household/HouseholdDelHouse", in, out, opts...) if err != nil { return nil, err } return out, nil } // HouseholdServer is the server API for Household service. type HouseholdServer interface { // Login(context.Context, *v1.LoginRequest) (*v1.LoginReply, error) // 获取业主的房屋 HouseholdHouses(context.Context, *v1.HouseholdHousesRequest) (*v1.HouseholdHousesReply, error) RealNameAuth(context.Context, *v1.RealNameAuthRequest) (*v1.RealNameAuthReply, error) UserUpdateNickName(context.Context, *v1.UserUpdateNickNameRequest) (*v1.UserUpdateNickNameReply, error) HouseholdApply(context.Context, *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error) // 删除未审核的申请(小区被删,房屋被删,或房屋号信息被改) HouseholdDelApply(context.Context, *v1.HouseholdDelApplyRequest) (*v1.HouseholdDelApplyReply, error) HouseholdApprove(context.Context, *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error) HouseholdList(context.Context, *v1.HouseholdListRequest) (*v1.HouseholdListReply, error) // 通过审核的业主信息列表 HouseholdUserList(context.Context, *v1.HouseholdUserListRequest) (*v1.HouseholdUserListReply, error) // 获取用户信息 UserInfo(context.Context, *v1.UserInfoRequest) (*v1.UserInfoReply, error) // 废弃 HouseholdGardenNameChange(context.Context, *v1.HouseholdGardenNameChangeRequest) (*v1.HouseholdGardenNameChangeReply, error) // 因房屋更新,需拒绝申请 HouseholdRefuse(context.Context, *v1.HouseholdRefuseRequest) (*v1.HouseholdRefuseReply, error) // 房屋租赁 HouseRentApply(context.Context, *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error) HouseRentApprove(context.Context, *v1.HouseRentApproveRequest) (*v1.HouseRentApproveReply, error) HouseRentUpdate(context.Context, *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error) HouseRentDown(context.Context, *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error) HouseRentList(context.Context, *v1.HouseRentListRequest) (*v1.HouseRentListReply, error) // 租房预约看房 HouseRentAppointmentAdd(context.Context, *v1.HouseRentAppointmentAddRequest) (*v1.HouseRentAppointmentAddReply, error) // 租房预约列表 HouseRentAppointmentList(context.Context, *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error) // 删除租房预约 HouseRentAppointmentDel(context.Context, *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error) HouseRentAppointmentStatus(context.Context, *v1.HouseRentAppointmentStatusRequest) (*v1.HouseRentAppointmentStatusReply, error) // 因房屋,小区或单元信息变更需更新租房信息 HouseRentChangeField(context.Context, *v1.HouseRentChangeFieldRequest) (*v1.HouseRentChangeFieldReply, error) // 获取待审核的住户数量 HouseholdWaitCount(context.Context, *v1.HouseholdWaitCountRequest) (*v1.HouseholdWaitCountReply, error) // 添加用户公众号信息 UserWxPublicAdd(context.Context, *v1.UserWxPublicAddRequest) (*v1.UserWxPublicAddReply, error) // 对unionid为空的公众号账户获取unionid WxPublicEmptyUnionId(context.Context, *v1.WxPublicEmptyUnionIdRequest) (*v1.WxPublicEmptyUnionIdReply, error) // 生成二维码 GateQcode(context.Context, *v1.GateQcodeRequest) (*v1.GateQcodeReply, error) // 住户退出房屋 HouseholdDelHouse(context.Context, *v1.HouseholdDelHouseRequest) (*v1.HouseholdDelHouseReply, error) } // UnimplementedHouseholdServer can be embedded to have forward compatible implementations. type UnimplementedHouseholdServer struct { } func (*UnimplementedHouseholdServer) Login(ctx context.Context, req *v1.LoginRequest) (*v1.LoginReply, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (*UnimplementedHouseholdServer) HouseholdHouses(ctx context.Context, req *v1.HouseholdHousesRequest) (*v1.HouseholdHousesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdHouses not implemented") } func (*UnimplementedHouseholdServer) RealNameAuth(ctx context.Context, req *v1.RealNameAuthRequest) (*v1.RealNameAuthReply, error) { return nil, status.Errorf(codes.Unimplemented, "method RealNameAuth not implemented") } func (*UnimplementedHouseholdServer) UserUpdateNickName(ctx context.Context, req *v1.UserUpdateNickNameRequest) (*v1.UserUpdateNickNameReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserUpdateNickName not implemented") } func (*UnimplementedHouseholdServer) HouseholdApply(ctx context.Context, req *v1.HouseholdApplyRequest) (*v1.HouseholdApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdApply not implemented") } func (*UnimplementedHouseholdServer) HouseholdDelApply(ctx context.Context, req *v1.HouseholdDelApplyRequest) (*v1.HouseholdDelApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdDelApply not implemented") } func (*UnimplementedHouseholdServer) HouseholdApprove(ctx context.Context, req *v1.HouseholdApproveRequest) (*v1.HouseholdApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdApprove not implemented") } func (*UnimplementedHouseholdServer) HouseholdList(ctx context.Context, req *v1.HouseholdListRequest) (*v1.HouseholdListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdList not implemented") } func (*UnimplementedHouseholdServer) HouseholdUserList(ctx context.Context, req *v1.HouseholdUserListRequest) (*v1.HouseholdUserListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdUserList not implemented") } func (*UnimplementedHouseholdServer) UserInfo(ctx context.Context, req *v1.UserInfoRequest) (*v1.UserInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserInfo not implemented") } func (*UnimplementedHouseholdServer) HouseholdGardenNameChange(ctx context.Context, req *v1.HouseholdGardenNameChangeRequest) (*v1.HouseholdGardenNameChangeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdGardenNameChange not implemented") } func (*UnimplementedHouseholdServer) HouseholdRefuse(ctx context.Context, req *v1.HouseholdRefuseRequest) (*v1.HouseholdRefuseReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdRefuse not implemented") } func (*UnimplementedHouseholdServer) HouseRentApply(ctx context.Context, req *v1.HouseRentApplyRequest) (*v1.HouseRentApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentApply not implemented") } func (*UnimplementedHouseholdServer) HouseRentApprove(ctx context.Context, req *v1.HouseRentApproveRequest) (*v1.HouseRentApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentApprove not implemented") } func (*UnimplementedHouseholdServer) HouseRentUpdate(ctx context.Context, req *v1.HouseRentUpdateRequest) (*v1.HouseRentUpdateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentUpdate not implemented") } func (*UnimplementedHouseholdServer) HouseRentDown(ctx context.Context, req *v1.HouseRentDownRequest) (*v1.HouseRentDownReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentDown not implemented") } func (*UnimplementedHouseholdServer) HouseRentList(ctx context.Context, req *v1.HouseRentListRequest) (*v1.HouseRentListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentList not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentAdd(ctx context.Context, req *v1.HouseRentAppointmentAddRequest) (*v1.HouseRentAppointmentAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentAdd not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentList(ctx context.Context, req *v1.HouseRentAppointmentListRequest) (*v1.HouseRentAppointmentListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentList not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentDel(ctx context.Context, req *v1.HouseRentAppointmentDelRequest) (*v1.HouseRentAppointmentDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentDel not implemented") } func (*UnimplementedHouseholdServer) HouseRentAppointmentStatus(ctx context.Context, req *v1.HouseRentAppointmentStatusRequest) (*v1.HouseRentAppointmentStatusReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentAppointmentStatus not implemented") } func (*UnimplementedHouseholdServer) HouseRentChangeField(ctx context.Context, req *v1.HouseRentChangeFieldRequest) (*v1.HouseRentChangeFieldReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseRentChangeField not implemented") } func (*UnimplementedHouseholdServer) HouseholdWaitCount(ctx context.Context, req *v1.HouseholdWaitCountRequest) (*v1.HouseholdWaitCountReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdWaitCount not implemented") } func (*UnimplementedHouseholdServer) UserWxPublicAdd(ctx context.Context, req *v1.UserWxPublicAddRequest) (*v1.UserWxPublicAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method UserWxPublicAdd not implemented") } func (*UnimplementedHouseholdServer) WxPublicEmptyUnionId(ctx context.Context, req *v1.WxPublicEmptyUnionIdRequest) (*v1.WxPublicEmptyUnionIdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxPublicEmptyUnionId not implemented") } func (*UnimplementedHouseholdServer) GateQcode(ctx context.Context, req *v1.GateQcodeRequest) (*v1.GateQcodeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateQcode not implemented") } func (*UnimplementedHouseholdServer) HouseholdDelHouse(ctx context.Context, req *v1.HouseholdDelHouseRequest) (*v1.HouseholdDelHouseReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdDelHouse not implemented") } func RegisterHouseholdServer(s *grpc.Server, srv HouseholdServer) { s.RegisterService(&_Household_serviceDesc, srv) } func _Household_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.LoginRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/Login", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).Login(ctx, req.(*v1.LoginRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdHouses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdHousesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdHouses(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdHouses", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdHouses(ctx, req.(*v1.HouseholdHousesRequest)) } return interceptor(ctx, in, info, handler) } func _Household_RealNameAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.RealNameAuthRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).RealNameAuth(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/RealNameAuth", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).RealNameAuth(ctx, req.(*v1.RealNameAuthRequest)) } return interceptor(ctx, in, info, handler) } func _Household_UserUpdateNickName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserUpdateNickNameRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).UserUpdateNickName(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/UserUpdateNickName", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).UserUpdateNickName(ctx, req.(*v1.UserUpdateNickNameRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdApply(ctx, req.(*v1.HouseholdApplyRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdDelApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdDelApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdDelApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdDelApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdDelApply(ctx, req.(*v1.HouseholdDelApplyRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdApprove(ctx, req.(*v1.HouseholdApproveRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdList(ctx, req.(*v1.HouseholdListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdUserList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdUserListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdUserList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdUserList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdUserList(ctx, req.(*v1.HouseholdUserListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_UserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).UserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/UserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).UserInfo(ctx, req.(*v1.UserInfoRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdGardenNameChange_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdGardenNameChangeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdGardenNameChange(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdGardenNameChange", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdGardenNameChange(ctx, req.(*v1.HouseholdGardenNameChangeRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdRefuse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdRefuseRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdRefuse(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdRefuse", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdRefuse(ctx, req.(*v1.HouseholdRefuseRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentApply(ctx, req.(*v1.HouseRentApplyRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentApprove(ctx, req.(*v1.HouseRentApproveRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentUpdate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentUpdateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentUpdate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentUpdate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentUpdate(ctx, req.(*v1.HouseRentUpdateRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentDown_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentDownRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentDown(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentDown", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentDown(ctx, req.(*v1.HouseRentDownRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentList(ctx, req.(*v1.HouseRentListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentAdd(ctx, req.(*v1.HouseRentAppointmentAddRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentList(ctx, req.(*v1.HouseRentAppointmentListRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentDel(ctx, req.(*v1.HouseRentAppointmentDelRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentAppointmentStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentAppointmentStatusRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentAppointmentStatus(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentAppointmentStatus", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentAppointmentStatus(ctx, req.(*v1.HouseRentAppointmentStatusRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseRentChangeField_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseRentChangeFieldRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseRentChangeField(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseRentChangeField", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseRentChangeField(ctx, req.(*v1.HouseRentChangeFieldRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdWaitCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdWaitCountRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdWaitCount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdWaitCount", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdWaitCount(ctx, req.(*v1.HouseholdWaitCountRequest)) } return interceptor(ctx, in, info, handler) } func _Household_UserWxPublicAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.UserWxPublicAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).UserWxPublicAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/UserWxPublicAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).UserWxPublicAdd(ctx, req.(*v1.UserWxPublicAddRequest)) } return interceptor(ctx, in, info, handler) } func _Household_WxPublicEmptyUnionId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxPublicEmptyUnionIdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).WxPublicEmptyUnionId(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/WxPublicEmptyUnionId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).WxPublicEmptyUnionId(ctx, req.(*v1.WxPublicEmptyUnionIdRequest)) } return interceptor(ctx, in, info, handler) } func _Household_GateQcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateQcodeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).GateQcode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/GateQcode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).GateQcode(ctx, req.(*v1.GateQcodeRequest)) } return interceptor(ctx, in, info, handler) } func _Household_HouseholdDelHouse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdDelHouseRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(HouseholdServer).HouseholdDelHouse(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Household/HouseholdDelHouse", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(HouseholdServer).HouseholdDelHouse(ctx, req.(*v1.HouseholdDelHouseRequest)) } return interceptor(ctx, in, info, handler) } var _Household_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.Household", HandlerType: (*HouseholdServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Login", Handler: _Household_Login_Handler, }, { MethodName: "HouseholdHouses", Handler: _Household_HouseholdHouses_Handler, }, { MethodName: "RealNameAuth", Handler: _Household_RealNameAuth_Handler, }, { MethodName: "UserUpdateNickName", Handler: _Household_UserUpdateNickName_Handler, }, { MethodName: "HouseholdApply", Handler: _Household_HouseholdApply_Handler, }, { MethodName: "HouseholdDelApply", Handler: _Household_HouseholdDelApply_Handler, }, { MethodName: "HouseholdApprove", Handler: _Household_HouseholdApprove_Handler, }, { MethodName: "HouseholdList", Handler: _Household_HouseholdList_Handler, }, { MethodName: "HouseholdUserList", Handler: _Household_HouseholdUserList_Handler, }, { MethodName: "UserInfo", Handler: _Household_UserInfo_Handler, }, { MethodName: "HouseholdGardenNameChange", Handler: _Household_HouseholdGardenNameChange_Handler, }, { MethodName: "HouseholdRefuse", Handler: _Household_HouseholdRefuse_Handler, }, { MethodName: "HouseRentApply", Handler: _Household_HouseRentApply_Handler, }, { MethodName: "HouseRentApprove", Handler: _Household_HouseRentApprove_Handler, }, { MethodName: "HouseRentUpdate", Handler: _Household_HouseRentUpdate_Handler, }, { MethodName: "HouseRentDown", Handler: _Household_HouseRentDown_Handler, }, { MethodName: "HouseRentList", Handler: _Household_HouseRentList_Handler, }, { MethodName: "HouseRentAppointmentAdd", Handler: _Household_HouseRentAppointmentAdd_Handler, }, { MethodName: "HouseRentAppointmentList", Handler: _Household_HouseRentAppointmentList_Handler, }, { MethodName: "HouseRentAppointmentDel", Handler: _Household_HouseRentAppointmentDel_Handler, }, { MethodName: "HouseRentAppointmentStatus", Handler: _Household_HouseRentAppointmentStatus_Handler, }, { MethodName: "HouseRentChangeField", Handler: _Household_HouseRentChangeField_Handler, }, { MethodName: "HouseholdWaitCount", Handler: _Household_HouseholdWaitCount_Handler, }, { MethodName: "UserWxPublicAdd", Handler: _Household_UserWxPublicAdd_Handler, }, { MethodName: "WxPublicEmptyUnionId", Handler: _Household_WxPublicEmptyUnionId_Handler, }, { MethodName: "GateQcode", Handler: _Household_GateQcode_Handler, }, { MethodName: "HouseholdDelHouse", Handler: _Household_HouseholdDelHouse_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "household_service.proto", }