// Code generated by protoc-gen-go. DO NOT EDIT. // source: thirdparty_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-thirdparty/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("thirdparty_service.proto", fileDescriptor_22d5d2ee5c1185d0) } var fileDescriptor_22d5d2ee5c1185d0 = []byte{ // 443 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0x4f, 0x6f, 0xd3, 0x30, 0x18, 0xc6, 0x39, 0xa1, 0x61, 0xc4, 0x3f, 0x83, 0x4a, 0xd7, 0x0d, 0x90, 0xb8, 0x93, 0x69, 0x70, 0xdb, 0x89, 0x32, 0x09, 0x14, 0x69, 0xd5, 0x4a, 0xda, 0x32, 0x89, 0xcb, 0x94, 0x38, 0x2f, 0x8d, 0xd5, 0x62, 0x1b, 0xc7, 0xa9, 0x9a, 0xef, 0xca, 0x87, 0x99, 0x1a, 0xc7, 0x76, 0x63, 0x27, 0xd7, 0xe7, 0xf7, 0xf8, 0x27, 0x27, 0xf6, 0x6b, 0x34, 0x56, 0x05, 0x95, 0xb9, 0x48, 0xa5, 0xaa, 0xef, 0x4b, 0x90, 0x3b, 0x4a, 0x20, 0x12, 0x92, 0x2b, 0x8e, 0x91, 0xc8, 0xa2, 0x36, 0x99, 0xbc, 0xde, 0x5d, 0x5e, 0xb8, 0xa2, 0x2e, 0x7c, 0xfe, 0xff, 0x04, 0xe1, 0xb9, 0xe4, 0x02, 0xa4, 0xaa, 0x97, 0x16, 0xe2, 0x2b, 0x74, 0xf2, 0x03, 0xd4, 0x2f, 0xc2, 0x73, 0xc0, 0xa3, 0x48, 0x64, 0xf7, 0xbb, 0xcb, 0xc8, 0x04, 0x09, 0xfc, 0xab, 0xa0, 0x54, 0x93, 0x37, 0x41, 0x2e, 0xb6, 0xf5, 0xc7, 0x47, 0xf8, 0x2b, 0x42, 0xd7, 0x05, 0x90, 0x8d, 0x5e, 0x3d, 0x6e, 0x5b, 0x2e, 0x32, 0xeb, 0x47, 0x3d, 0x44, 0x1b, 0x56, 0xe8, 0xd5, 0xdd, 0x7e, 0x2a, 0xc4, 0x16, 0xd4, 0x0d, 0x5f, 0x53, 0x36, 0xad, 0x54, 0x81, 0x3f, 0xb4, 0xf5, 0x80, 0x18, 0xdf, 0xbb, 0xe1, 0x82, 0xd6, 0xde, 0xa0, 0xe7, 0x86, 0xcd, 0x25, 0x88, 0xb4, 0xc6, 0xe7, 0xde, 0x12, 0x1d, 0x1b, 0xe1, 0x64, 0x80, 0x6a, 0x5b, 0x8c, 0x9e, 0x19, 0xf0, 0xb3, 0x02, 0x59, 0xe3, 0x33, 0xaf, 0xde, 0xa4, 0xc6, 0x75, 0xda, 0x0f, 0xb5, 0xea, 0x16, 0xbd, 0xb8, 0xdb, 0xcf, 0xab, 0x6c, 0x4b, 0xc9, 0x8a, 0x51, 0xce, 0xe2, 0x1c, 0xbb, 0x8f, 0xe9, 0xe4, 0x46, 0x77, 0x36, 0x84, 0x03, 0xe1, 0xac, 0x5c, 0x2f, 0x80, 0x85, 0xc2, 0x36, 0x1f, 0x12, 0x5a, 0x1c, 0x08, 0xa7, 0x79, 0x3e, 0xa3, 0x8c, 0x06, 0xc2, 0x36, 0x1f, 0x12, 0x5a, 0x6c, 0xcf, 0x62, 0x09, 0x8c, 0x00, 0x53, 0x66, 0x83, 0xe6, 0x2c, 0xba, 0xb1, 0x7f, 0x16, 0x3e, 0xb5, 0xb6, 0x5b, 0x01, 0x2c, 0xfe, 0x9b, 0xc0, 0x9a, 0x96, 0x0a, 0xa4, 0xb5, 0x75, 0x63, 0xdf, 0xe6, 0x53, 0x6d, 0xbb, 0x46, 0x4f, 0x35, 0x58, 0xf2, 0x0d, 0x30, 0x7c, 0xda, 0x29, 0x37, 0x99, 0xf1, 0xbc, 0xed, 0x43, 0xde, 0x96, 0x56, 0x25, 0xc8, 0x98, 0xfd, 0xe1, 0xde, 0x96, 0x4c, 0xdc, 0xbf, 0x25, 0x47, 0xed, 0x44, 0x38, 0xb0, 0x00, 0xf5, 0x3d, 0x25, 0x60, 0x27, 0x22, 0x20, 0xfe, 0x44, 0xf4, 0x14, 0xb4, 0xf6, 0x0a, 0x9d, 0x24, 0x3c, 0xe3, 0x87, 0xdf, 0x69, 0xc7, 0xdc, 0x04, 0xfe, 0x98, 0xbb, 0xfc, 0xe8, 0x4a, 0xcc, 0x40, 0x92, 0x22, 0x65, 0xea, 0x70, 0xa9, 0xeb, 0xa3, 0x2b, 0xd1, 0xc9, 0xc3, 0x2b, 0xe1, 0x61, 0x2d, 0x4c, 0xd0, 0x4b, 0x47, 0x16, 0x90, 0x4a, 0x52, 0xe0, 0xf7, 0xc1, 0x12, 0x0d, 0x8c, 0xf2, 0x7c, 0x90, 0x37, 0xce, 0x6f, 0xe3, 0xdf, 0x23, 0xd1, 0xbe, 0x6e, 0x9f, 0xdc, 0xdb, 0x77, 0x21, 0xb2, 0xec, 0x71, 0xf3, 0xfe, 0x7d, 0x79, 0x08, 0x00, 0x00, 0xff, 0xff, 0x63, 0xb4, 0x62, 0x3f, 0x3c, 0x05, 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 // PropertyThirdpartyClient is the client API for PropertyThirdparty service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type PropertyThirdpartyClient interface { // 获取短信验证码 GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error) // 校验短信验证码 CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error) // 微信小程序登录验证 WxAppletLoginAuth(ctx context.Context, in *v1.WxAppletLoginAuthRequest, opts ...grpc.CallOption) (*v1.WxAppletLoginAuthReply, error) // 微信小程序预支付 WxAppletPrepay(ctx context.Context, in *v1.WxAppletPrepayRequest, opts ...grpc.CallOption) (*v1.WxAppletPrepayReply, error) // 微信小程序支付订单查询 WxAppletQuery(ctx context.Context, in *v1.WxAppletQueryRequest, opts ...grpc.CallOption) (*v1.WxAppletQueryReply, error) // 获取公众号unionid WxPublicUnionId(ctx context.Context, in *v1.WxPublicUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicUnionIdReply, error) // 公众号推送消息 WxPublicMsgSend(ctx context.Context, in *v1.WxPublicMsgSendRequest, opts ...grpc.CallOption) (*v1.WxPublicMsgSendReply, error) // 公众号添加小程序入口 WxPublicAddMini(ctx context.Context, in *v1.WxPublicAddMiniRequest, opts ...grpc.CallOption) (*v1.WxPublicAddMiniReply, error) // 短信发送 TencentMsgSend(ctx context.Context, in *v1.TencentMsgSendRequest, opts ...grpc.CallOption) (*v1.TencentMsgSendReply, error) // openIM 注册用户 OpenImRegister(ctx context.Context, in *v1.OpenImRegisterRequest, opts ...grpc.CallOption) (*v1.OpenImRegisterReply, error) OpenImToken(ctx context.Context, in *v1.OpenImTokenRequest, opts ...grpc.CallOption) (*v1.OpenImTokenReply, error) OpenImUserInfo(ctx context.Context, in *v1.OpenImUserInfoRequest, opts ...grpc.CallOption) (*v1.OpenImUserInfoReply, error) OpenImUserSetFace(ctx context.Context, in *v1.OpenImUserSetFaceRequest, opts ...grpc.CallOption) (*v1.OpenImUserSetFaceReply, error) RobotMsg(ctx context.Context, in *v1.RobotMsgRequest, opts ...grpc.CallOption) (*v1.RobotMsgReply, error) // 微信特约商户进件申请 WxMerchantApply(ctx context.Context, in *v1.WxMerchantApplyRequest, opts ...grpc.CallOption) (*v1.WxMerchantApplyReply, error) // 微信特约商户进件申请查询 WxMerchantSearch(ctx context.Context, in *v1.WxMerchantSearchRequest, opts ...grpc.CallOption) (*v1.WxMerchantSearchReply, error) } type propertyThirdpartyClient struct { cc grpc.ClientConnInterface } func NewPropertyThirdpartyClient(cc grpc.ClientConnInterface) PropertyThirdpartyClient { return &propertyThirdpartyClient{cc} } func (c *propertyThirdpartyClient) GetVcode(ctx context.Context, in *v1.GetVcodeRequest, opts ...grpc.CallOption) (*v1.GetVcodeReply, error) { out := new(v1.GetVcodeReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/GetVcode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) CheckVcode(ctx context.Context, in *v1.CheckVcodeRequest, opts ...grpc.CallOption) (*v1.CheckVcodeReply, error) { out := new(v1.CheckVcodeReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/CheckVcode", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxAppletLoginAuth(ctx context.Context, in *v1.WxAppletLoginAuthRequest, opts ...grpc.CallOption) (*v1.WxAppletLoginAuthReply, error) { out := new(v1.WxAppletLoginAuthReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletLoginAuth", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxAppletPrepay(ctx context.Context, in *v1.WxAppletPrepayRequest, opts ...grpc.CallOption) (*v1.WxAppletPrepayReply, error) { out := new(v1.WxAppletPrepayReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletPrepay", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxAppletQuery(ctx context.Context, in *v1.WxAppletQueryRequest, opts ...grpc.CallOption) (*v1.WxAppletQueryReply, error) { out := new(v1.WxAppletQueryReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxAppletQuery", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxPublicUnionId(ctx context.Context, in *v1.WxPublicUnionIdRequest, opts ...grpc.CallOption) (*v1.WxPublicUnionIdReply, error) { out := new(v1.WxPublicUnionIdReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicUnionId", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxPublicMsgSend(ctx context.Context, in *v1.WxPublicMsgSendRequest, opts ...grpc.CallOption) (*v1.WxPublicMsgSendReply, error) { out := new(v1.WxPublicMsgSendReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicMsgSend", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxPublicAddMini(ctx context.Context, in *v1.WxPublicAddMiniRequest, opts ...grpc.CallOption) (*v1.WxPublicAddMiniReply, error) { out := new(v1.WxPublicAddMiniReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxPublicAddMini", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) TencentMsgSend(ctx context.Context, in *v1.TencentMsgSendRequest, opts ...grpc.CallOption) (*v1.TencentMsgSendReply, error) { out := new(v1.TencentMsgSendReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/TencentMsgSend", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) OpenImRegister(ctx context.Context, in *v1.OpenImRegisterRequest, opts ...grpc.CallOption) (*v1.OpenImRegisterReply, error) { out := new(v1.OpenImRegisterReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImRegister", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) OpenImToken(ctx context.Context, in *v1.OpenImTokenRequest, opts ...grpc.CallOption) (*v1.OpenImTokenReply, error) { out := new(v1.OpenImTokenReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImToken", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) OpenImUserInfo(ctx context.Context, in *v1.OpenImUserInfoRequest, opts ...grpc.CallOption) (*v1.OpenImUserInfoReply, error) { out := new(v1.OpenImUserInfoReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImUserInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) OpenImUserSetFace(ctx context.Context, in *v1.OpenImUserSetFaceRequest, opts ...grpc.CallOption) (*v1.OpenImUserSetFaceReply, error) { out := new(v1.OpenImUserSetFaceReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/OpenImUserSetFace", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) RobotMsg(ctx context.Context, in *v1.RobotMsgRequest, opts ...grpc.CallOption) (*v1.RobotMsgReply, error) { out := new(v1.RobotMsgReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/RobotMsg", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxMerchantApply(ctx context.Context, in *v1.WxMerchantApplyRequest, opts ...grpc.CallOption) (*v1.WxMerchantApplyReply, error) { out := new(v1.WxMerchantApplyReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxMerchantApply", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *propertyThirdpartyClient) WxMerchantSearch(ctx context.Context, in *v1.WxMerchantSearchRequest, opts ...grpc.CallOption) (*v1.WxMerchantSearchReply, error) { out := new(v1.WxMerchantSearchReply) err := c.cc.Invoke(ctx, "/pb.service.PropertyThirdparty/WxMerchantSearch", in, out, opts...) if err != nil { return nil, err } return out, nil } // PropertyThirdpartyServer is the server API for PropertyThirdparty service. type PropertyThirdpartyServer interface { // 获取短信验证码 GetVcode(context.Context, *v1.GetVcodeRequest) (*v1.GetVcodeReply, error) // 校验短信验证码 CheckVcode(context.Context, *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error) // 微信小程序登录验证 WxAppletLoginAuth(context.Context, *v1.WxAppletLoginAuthRequest) (*v1.WxAppletLoginAuthReply, error) // 微信小程序预支付 WxAppletPrepay(context.Context, *v1.WxAppletPrepayRequest) (*v1.WxAppletPrepayReply, error) // 微信小程序支付订单查询 WxAppletQuery(context.Context, *v1.WxAppletQueryRequest) (*v1.WxAppletQueryReply, error) // 获取公众号unionid WxPublicUnionId(context.Context, *v1.WxPublicUnionIdRequest) (*v1.WxPublicUnionIdReply, error) // 公众号推送消息 WxPublicMsgSend(context.Context, *v1.WxPublicMsgSendRequest) (*v1.WxPublicMsgSendReply, error) // 公众号添加小程序入口 WxPublicAddMini(context.Context, *v1.WxPublicAddMiniRequest) (*v1.WxPublicAddMiniReply, error) // 短信发送 TencentMsgSend(context.Context, *v1.TencentMsgSendRequest) (*v1.TencentMsgSendReply, error) // openIM 注册用户 OpenImRegister(context.Context, *v1.OpenImRegisterRequest) (*v1.OpenImRegisterReply, error) OpenImToken(context.Context, *v1.OpenImTokenRequest) (*v1.OpenImTokenReply, error) OpenImUserInfo(context.Context, *v1.OpenImUserInfoRequest) (*v1.OpenImUserInfoReply, error) OpenImUserSetFace(context.Context, *v1.OpenImUserSetFaceRequest) (*v1.OpenImUserSetFaceReply, error) RobotMsg(context.Context, *v1.RobotMsgRequest) (*v1.RobotMsgReply, error) // 微信特约商户进件申请 WxMerchantApply(context.Context, *v1.WxMerchantApplyRequest) (*v1.WxMerchantApplyReply, error) // 微信特约商户进件申请查询 WxMerchantSearch(context.Context, *v1.WxMerchantSearchRequest) (*v1.WxMerchantSearchReply, error) } // UnimplementedPropertyThirdpartyServer can be embedded to have forward compatible implementations. type UnimplementedPropertyThirdpartyServer struct { } func (*UnimplementedPropertyThirdpartyServer) GetVcode(ctx context.Context, req *v1.GetVcodeRequest) (*v1.GetVcodeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVcode not implemented") } func (*UnimplementedPropertyThirdpartyServer) CheckVcode(ctx context.Context, req *v1.CheckVcodeRequest) (*v1.CheckVcodeReply, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckVcode not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxAppletLoginAuth(ctx context.Context, req *v1.WxAppletLoginAuthRequest) (*v1.WxAppletLoginAuthReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxAppletLoginAuth not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxAppletPrepay(ctx context.Context, req *v1.WxAppletPrepayRequest) (*v1.WxAppletPrepayReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxAppletPrepay not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxAppletQuery(ctx context.Context, req *v1.WxAppletQueryRequest) (*v1.WxAppletQueryReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxAppletQuery not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxPublicUnionId(ctx context.Context, req *v1.WxPublicUnionIdRequest) (*v1.WxPublicUnionIdReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxPublicUnionId not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxPublicMsgSend(ctx context.Context, req *v1.WxPublicMsgSendRequest) (*v1.WxPublicMsgSendReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxPublicMsgSend not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxPublicAddMini(ctx context.Context, req *v1.WxPublicAddMiniRequest) (*v1.WxPublicAddMiniReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxPublicAddMini not implemented") } func (*UnimplementedPropertyThirdpartyServer) TencentMsgSend(ctx context.Context, req *v1.TencentMsgSendRequest) (*v1.TencentMsgSendReply, error) { return nil, status.Errorf(codes.Unimplemented, "method TencentMsgSend not implemented") } func (*UnimplementedPropertyThirdpartyServer) OpenImRegister(ctx context.Context, req *v1.OpenImRegisterRequest) (*v1.OpenImRegisterReply, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenImRegister not implemented") } func (*UnimplementedPropertyThirdpartyServer) OpenImToken(ctx context.Context, req *v1.OpenImTokenRequest) (*v1.OpenImTokenReply, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenImToken not implemented") } func (*UnimplementedPropertyThirdpartyServer) OpenImUserInfo(ctx context.Context, req *v1.OpenImUserInfoRequest) (*v1.OpenImUserInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenImUserInfo not implemented") } func (*UnimplementedPropertyThirdpartyServer) OpenImUserSetFace(ctx context.Context, req *v1.OpenImUserSetFaceRequest) (*v1.OpenImUserSetFaceReply, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenImUserSetFace not implemented") } func (*UnimplementedPropertyThirdpartyServer) RobotMsg(ctx context.Context, req *v1.RobotMsgRequest) (*v1.RobotMsgReply, error) { return nil, status.Errorf(codes.Unimplemented, "method RobotMsg not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxMerchantApply(ctx context.Context, req *v1.WxMerchantApplyRequest) (*v1.WxMerchantApplyReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxMerchantApply not implemented") } func (*UnimplementedPropertyThirdpartyServer) WxMerchantSearch(ctx context.Context, req *v1.WxMerchantSearchRequest) (*v1.WxMerchantSearchReply, error) { return nil, status.Errorf(codes.Unimplemented, "method WxMerchantSearch not implemented") } func RegisterPropertyThirdpartyServer(s *grpc.Server, srv PropertyThirdpartyServer) { s.RegisterService(&_PropertyThirdparty_serviceDesc, srv) } func _PropertyThirdparty_GetVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GetVcodeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).GetVcode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/GetVcode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).GetVcode(ctx, req.(*v1.GetVcodeRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_CheckVcode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.CheckVcodeRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).CheckVcode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/CheckVcode", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).CheckVcode(ctx, req.(*v1.CheckVcodeRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxAppletLoginAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxAppletLoginAuthRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxAppletLoginAuth(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxAppletLoginAuth", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxAppletLoginAuth(ctx, req.(*v1.WxAppletLoginAuthRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxAppletPrepay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxAppletPrepayRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxAppletPrepay(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxAppletPrepay", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxAppletPrepay(ctx, req.(*v1.WxAppletPrepayRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxAppletQuery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxAppletQueryRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxAppletQuery(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxAppletQuery", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxAppletQuery(ctx, req.(*v1.WxAppletQueryRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxPublicUnionId_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxPublicUnionIdRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxPublicUnionId(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxPublicUnionId", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxPublicUnionId(ctx, req.(*v1.WxPublicUnionIdRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxPublicMsgSend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxPublicMsgSendRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxPublicMsgSend(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxPublicMsgSend", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxPublicMsgSend(ctx, req.(*v1.WxPublicMsgSendRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxPublicAddMini_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxPublicAddMiniRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxPublicAddMini(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxPublicAddMini", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxPublicAddMini(ctx, req.(*v1.WxPublicAddMiniRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_TencentMsgSend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.TencentMsgSendRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).TencentMsgSend(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/TencentMsgSend", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).TencentMsgSend(ctx, req.(*v1.TencentMsgSendRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_OpenImRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.OpenImRegisterRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).OpenImRegister(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/OpenImRegister", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).OpenImRegister(ctx, req.(*v1.OpenImRegisterRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_OpenImToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.OpenImTokenRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).OpenImToken(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/OpenImToken", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).OpenImToken(ctx, req.(*v1.OpenImTokenRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_OpenImUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.OpenImUserInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).OpenImUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/OpenImUserInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).OpenImUserInfo(ctx, req.(*v1.OpenImUserInfoRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_OpenImUserSetFace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.OpenImUserSetFaceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).OpenImUserSetFace(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/OpenImUserSetFace", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).OpenImUserSetFace(ctx, req.(*v1.OpenImUserSetFaceRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_RobotMsg_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.RobotMsgRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).RobotMsg(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/RobotMsg", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).RobotMsg(ctx, req.(*v1.RobotMsgRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxMerchantApply_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxMerchantApplyRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxMerchantApply(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxMerchantApply", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxMerchantApply(ctx, req.(*v1.WxMerchantApplyRequest)) } return interceptor(ctx, in, info, handler) } func _PropertyThirdparty_WxMerchantSearch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.WxMerchantSearchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(PropertyThirdpartyServer).WxMerchantSearch(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.PropertyThirdparty/WxMerchantSearch", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(PropertyThirdpartyServer).WxMerchantSearch(ctx, req.(*v1.WxMerchantSearchRequest)) } return interceptor(ctx, in, info, handler) } var _PropertyThirdparty_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.PropertyThirdparty", HandlerType: (*PropertyThirdpartyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetVcode", Handler: _PropertyThirdparty_GetVcode_Handler, }, { MethodName: "CheckVcode", Handler: _PropertyThirdparty_CheckVcode_Handler, }, { MethodName: "WxAppletLoginAuth", Handler: _PropertyThirdparty_WxAppletLoginAuth_Handler, }, { MethodName: "WxAppletPrepay", Handler: _PropertyThirdparty_WxAppletPrepay_Handler, }, { MethodName: "WxAppletQuery", Handler: _PropertyThirdparty_WxAppletQuery_Handler, }, { MethodName: "WxPublicUnionId", Handler: _PropertyThirdparty_WxPublicUnionId_Handler, }, { MethodName: "WxPublicMsgSend", Handler: _PropertyThirdparty_WxPublicMsgSend_Handler, }, { MethodName: "WxPublicAddMini", Handler: _PropertyThirdparty_WxPublicAddMini_Handler, }, { MethodName: "TencentMsgSend", Handler: _PropertyThirdparty_TencentMsgSend_Handler, }, { MethodName: "OpenImRegister", Handler: _PropertyThirdparty_OpenImRegister_Handler, }, { MethodName: "OpenImToken", Handler: _PropertyThirdparty_OpenImToken_Handler, }, { MethodName: "OpenImUserInfo", Handler: _PropertyThirdparty_OpenImUserInfo_Handler, }, { MethodName: "OpenImUserSetFace", Handler: _PropertyThirdparty_OpenImUserSetFace_Handler, }, { MethodName: "RobotMsg", Handler: _PropertyThirdparty_RobotMsg_Handler, }, { MethodName: "WxMerchantApply", Handler: _PropertyThirdparty_WxMerchantApply_Handler, }, { MethodName: "WxMerchantSearch", Handler: _PropertyThirdparty_WxMerchantSearch_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "thirdparty_service.proto", }