123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442 |
- // 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-task/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{
- // 313 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4d, 0x4b, 0xc3, 0x30,
- 0x1c, 0x87, 0xbd, 0x28, 0x12, 0xf0, 0x2d, 0xca, 0x98, 0x9d, 0x22, 0x78, 0xb7, 0x63, 0x7a, 0xf3,
- 0x64, 0xf5, 0x20, 0x83, 0x0d, 0xab, 0x6e, 0x0e, 0xbc, 0x8c, 0xbe, 0xfc, 0x59, 0xc3, 0x4a, 0x12,
- 0xd3, 0xb4, 0xac, 0x9f, 0xcf, 0x2f, 0x36, 0x68, 0x92, 0x96, 0x35, 0xeb, 0xf5, 0x79, 0x7e, 0x79,
- 0x68, 0x49, 0x50, 0x5f, 0x26, 0x44, 0xc4, 0x3c, 0x10, 0xb2, 0x5c, 0x66, 0x20, 0x0a, 0x12, 0x81,
- 0xcb, 0x05, 0x93, 0x0c, 0x23, 0x1e, 0xba, 0x9a, 0x38, 0x97, 0xc5, 0x68, 0xd8, 0x0c, 0xd5, 0xe0,
- 0xf1, 0xff, 0x10, 0x61, 0x5f, 0x30, 0x0e, 0x42, 0x96, 0xb3, 0x5a, 0xe2, 0x67, 0x74, 0xfc, 0x0e,
- 0xf2, 0x27, 0x62, 0x31, 0xe0, 0x9e, 0xcb, 0xc3, 0x65, 0x31, 0x72, 0x0d, 0xf8, 0x82, 0xbf, 0x1c,
- 0x32, 0xe9, 0x5c, 0x59, 0x9c, 0xa7, 0xe5, 0xfd, 0x01, 0x7e, 0x41, 0xe8, 0x2d, 0x81, 0x68, 0xad,
- 0x4e, 0xf7, 0xf5, 0xaa, 0x41, 0xe6, 0x7c, 0x6f, 0x8f, 0x51, 0x85, 0x39, 0xba, 0x58, 0x6c, 0x3c,
- 0xce, 0x53, 0x90, 0x13, 0xb6, 0x22, 0xd4, 0xcb, 0x65, 0x82, 0xef, 0xf4, 0xdc, 0x32, 0xa6, 0x77,
- 0xdb, 0x3d, 0x50, 0xd9, 0x09, 0x3a, 0x35, 0xce, 0x17, 0xc0, 0x83, 0x12, 0xdf, 0xb4, 0x8e, 0x28,
- 0x6c, 0x82, 0x4e, 0x87, 0x55, 0xb5, 0x31, 0x3a, 0x31, 0xe2, 0x33, 0x07, 0x51, 0xe2, 0x41, 0x6b,
- 0x5e, 0x51, 0xd3, 0xba, 0xde, 0x2f, 0x55, 0xea, 0x03, 0x9d, 0x2d, 0x36, 0x7e, 0x1e, 0xa6, 0x24,
- 0x9a, 0x53, 0xc2, 0xe8, 0x38, 0xc6, 0xcd, 0xcf, 0xec, 0x70, 0x93, 0x1b, 0x74, 0x69, 0x2b, 0x38,
- 0xcd, 0x56, 0xdf, 0x40, 0xed, 0xa0, 0xe6, 0x5d, 0xc1, 0x5a, 0x5b, 0x41, 0x2f, 0x8e, 0xa7, 0x84,
- 0x12, 0x2b, 0xa8, 0x79, 0x57, 0xb0, 0xd6, 0xf5, 0x5d, 0xcc, 0x80, 0x46, 0x40, 0xa5, 0xf9, 0x40,
- 0x73, 0x17, 0xbb, 0xb8, 0x7d, 0x17, 0x6d, 0x5b, 0xd5, 0x5e, 0xf1, 0xef, 0x39, 0xd7, 0x8f, 0xf8,
- 0x41, 0x06, 0xd9, 0x7a, 0xc8, 0xc3, 0xf0, 0xa8, 0x7a, 0xe0, 0x4f, 0xdb, 0x00, 0x00, 0x00, 0xff,
- 0xff, 0xd9, 0xc4, 0x76, 0x6f, 0x1d, 0x03, 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)
- }
- 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
- }
- // 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)
- }
- // 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 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)
- }
- 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,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "thirdparty_service.proto",
- }
|