// Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: // - protoc-gen-go-triple v1.0.5 // - protoc v4.23.3 // source: approvalFork.proto package approvalFork import ( context "context" protocol "dubbo.apache.org/dubbo-go/v3/protocol" dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3" invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation" grpc_go "github.com/dubbogo/grpc-go" codes "github.com/dubbogo/grpc-go/codes" metadata "github.com/dubbogo/grpc-go/metadata" status "github.com/dubbogo/grpc-go/status" common "github.com/dubbogo/triple/pkg/common" constant "github.com/dubbogo/triple/pkg/common/constant" triple "github.com/dubbogo/triple/pkg/triple" ) // 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_go.SupportPackageIsVersion7 // ApprovalClient is the client API for Approval service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type ApprovalClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) UsedNumByUser(ctx context.Context, in *UsedNumByUserRequest, opts ...grpc_go.CallOption) (*UsedNumByUserResponse, common.ErrorWithAttachment) UpdateExhibitionApplyID(ctx context.Context, in *UpdateEhApplyIDRequest, opts ...grpc_go.CallOption) (*UpdateEhApplyIDResponse, common.ErrorWithAttachment) Detail(ctx context.Context, in *DetailRequest, opts ...grpc_go.CallOption) (*CreateRequest, common.ErrorWithAttachment) Update(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*RemoveResponse, common.ErrorWithAttachment) MyWork(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) MySubmit(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) NowLevelByInfo(ctx context.Context, in *NowLevelByInfoRequest, opts ...grpc_go.CallOption) (*WorkFlowResponse, common.ErrorWithAttachment) Information(ctx context.Context, in *InformationRequest, opts ...grpc_go.CallOption) (*InformationResponse, common.ErrorWithAttachment) Viewed(ctx context.Context, in *ViewedRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) SetStatus(ctx context.Context, in *StatusRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) DetailSetting(ctx context.Context, in *DetailSettingRequest, opts ...grpc_go.CallOption) (*SettingRequest, common.ErrorWithAttachment) UpdateSetting(ctx context.Context, in *SettingRequest, opts ...grpc_go.CallOption) (*SettingResponse, common.ErrorWithAttachment) IsExistPayRight(ctx context.Context, in *IsExistPayRightRequest, opts ...grpc_go.CallOption) (*IsExistPayRightResponse, common.ErrorWithAttachment) ChangeBundlePay(ctx context.Context, in *ChangeBundlePayRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) CreateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) DetailType(ctx context.Context, in *TypeResponse, opts ...grpc_go.CallOption) (*CreateTypeRequest, common.ErrorWithAttachment) UpdateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) AllType(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllTypeResponse, common.ErrorWithAttachment) RemoveType(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) AllGroup(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllGroupResponse, common.ErrorWithAttachment) // 财务报表审批 GetName(ctx context.Context, in *GetNameRequest, opts ...grpc_go.CallOption) (*GetNameResponse, common.ErrorWithAttachment) // OA审批 更新 OA系统的 UUID UpdateApprovalOAUUID(ctx context.Context, in *UpdateApprovalOAUUIDReq, opts ...grpc_go.CallOption) (*UpdateApprovalOAUUIDResponse, common.ErrorWithAttachment) } type approvalClient struct { cc *triple.TripleConn } type ApprovalClientImpl struct { Create func(ctx context.Context, in *CreateRequest) (*ApprovalResponse, error) UsedNumByUser func(ctx context.Context, in *UsedNumByUserRequest) (*UsedNumByUserResponse, error) UpdateExhibitionApplyID func(ctx context.Context, in *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) Detail func(ctx context.Context, in *DetailRequest) (*CreateRequest, error) Update func(ctx context.Context, in *CreateRequest) (*ApprovalResponse, error) Remove func(ctx context.Context, in *RemoveRequest) (*RemoveResponse, error) MyWork func(ctx context.Context, in *ListRequest) (*ListResponse, error) MySubmit func(ctx context.Context, in *ListRequest) (*ListResponse, error) NowLevelByInfo func(ctx context.Context, in *NowLevelByInfoRequest) (*WorkFlowResponse, error) Information func(ctx context.Context, in *InformationRequest) (*InformationResponse, error) Viewed func(ctx context.Context, in *ViewedRequest) (*ApprovalResponse, error) SetStatus func(ctx context.Context, in *StatusRequest) (*StatusResponse, error) DetailSetting func(ctx context.Context, in *DetailSettingRequest) (*SettingRequest, error) UpdateSetting func(ctx context.Context, in *SettingRequest) (*SettingResponse, error) IsExistPayRight func(ctx context.Context, in *IsExistPayRightRequest) (*IsExistPayRightResponse, error) ChangeBundlePay func(ctx context.Context, in *ChangeBundlePayRequest) (*CommonResponse, error) CreateType func(ctx context.Context, in *CreateTypeRequest) (*TypeResponse, error) DetailType func(ctx context.Context, in *TypeResponse) (*CreateTypeRequest, error) UpdateType func(ctx context.Context, in *CreateTypeRequest) (*TypeResponse, error) AllType func(ctx context.Context, in *CommonRequest) (*AllTypeResponse, error) RemoveType func(ctx context.Context, in *RemoveRequest) (*StatusResponse, error) AllGroup func(ctx context.Context, in *CommonRequest) (*AllGroupResponse, error) GetName func(ctx context.Context, in *GetNameRequest) (*GetNameResponse, error) UpdateApprovalOAUUID func(ctx context.Context, in *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) } func (c *ApprovalClientImpl) GetDubboStub(cc *triple.TripleConn) ApprovalClient { return NewApprovalClient(cc) } func (c *ApprovalClientImpl) XXX_InterfaceName() string { return "approvalFork.Approval" } func NewApprovalClient(cc *triple.TripleConn) ApprovalClient { return &approvalClient{cc} } func (c *approvalClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Create", in, out) } func (c *approvalClient) UsedNumByUser(ctx context.Context, in *UsedNumByUserRequest, opts ...grpc_go.CallOption) (*UsedNumByUserResponse, common.ErrorWithAttachment) { out := new(UsedNumByUserResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UsedNumByUser", in, out) } func (c *approvalClient) UpdateExhibitionApplyID(ctx context.Context, in *UpdateEhApplyIDRequest, opts ...grpc_go.CallOption) (*UpdateEhApplyIDResponse, common.ErrorWithAttachment) { out := new(UpdateEhApplyIDResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateExhibitionApplyID", in, out) } func (c *approvalClient) Detail(ctx context.Context, in *DetailRequest, opts ...grpc_go.CallOption) (*CreateRequest, common.ErrorWithAttachment) { out := new(CreateRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Detail", in, out) } func (c *approvalClient) Update(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Update", in, out) } func (c *approvalClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*RemoveResponse, common.ErrorWithAttachment) { out := new(RemoveResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Remove", in, out) } func (c *approvalClient) MyWork(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) { out := new(ListResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/MyWork", in, out) } func (c *approvalClient) MySubmit(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) { out := new(ListResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/MySubmit", in, out) } func (c *approvalClient) NowLevelByInfo(ctx context.Context, in *NowLevelByInfoRequest, opts ...grpc_go.CallOption) (*WorkFlowResponse, common.ErrorWithAttachment) { out := new(WorkFlowResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/NowLevelByInfo", in, out) } func (c *approvalClient) Information(ctx context.Context, in *InformationRequest, opts ...grpc_go.CallOption) (*InformationResponse, common.ErrorWithAttachment) { out := new(InformationResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Information", in, out) } func (c *approvalClient) Viewed(ctx context.Context, in *ViewedRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Viewed", in, out) } func (c *approvalClient) SetStatus(ctx context.Context, in *StatusRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) { out := new(StatusResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SetStatus", in, out) } func (c *approvalClient) DetailSetting(ctx context.Context, in *DetailSettingRequest, opts ...grpc_go.CallOption) (*SettingRequest, common.ErrorWithAttachment) { out := new(SettingRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DetailSetting", in, out) } func (c *approvalClient) UpdateSetting(ctx context.Context, in *SettingRequest, opts ...grpc_go.CallOption) (*SettingResponse, common.ErrorWithAttachment) { out := new(SettingResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateSetting", in, out) } func (c *approvalClient) IsExistPayRight(ctx context.Context, in *IsExistPayRightRequest, opts ...grpc_go.CallOption) (*IsExistPayRightResponse, common.ErrorWithAttachment) { out := new(IsExistPayRightResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/IsExistPayRight", in, out) } func (c *approvalClient) ChangeBundlePay(ctx context.Context, in *ChangeBundlePayRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) { out := new(CommonResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ChangeBundlePay", in, out) } func (c *approvalClient) CreateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) { out := new(TypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateType", in, out) } func (c *approvalClient) DetailType(ctx context.Context, in *TypeResponse, opts ...grpc_go.CallOption) (*CreateTypeRequest, common.ErrorWithAttachment) { out := new(CreateTypeRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DetailType", in, out) } func (c *approvalClient) UpdateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) { out := new(TypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateType", in, out) } func (c *approvalClient) AllType(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllTypeResponse, common.ErrorWithAttachment) { out := new(AllTypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AllType", in, out) } func (c *approvalClient) RemoveType(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) { out := new(StatusResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RemoveType", in, out) } func (c *approvalClient) AllGroup(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllGroupResponse, common.ErrorWithAttachment) { out := new(AllGroupResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AllGroup", in, out) } func (c *approvalClient) GetName(ctx context.Context, in *GetNameRequest, opts ...grpc_go.CallOption) (*GetNameResponse, common.ErrorWithAttachment) { out := new(GetNameResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetName", in, out) } func (c *approvalClient) UpdateApprovalOAUUID(ctx context.Context, in *UpdateApprovalOAUUIDReq, opts ...grpc_go.CallOption) (*UpdateApprovalOAUUIDResponse, common.ErrorWithAttachment) { out := new(UpdateApprovalOAUUIDResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateApprovalOAUUID", in, out) } // ApprovalServer is the server API for Approval service. // All implementations must embed UnimplementedApprovalServer // for forward compatibility type ApprovalServer interface { Create(context.Context, *CreateRequest) (*ApprovalResponse, error) UsedNumByUser(context.Context, *UsedNumByUserRequest) (*UsedNumByUserResponse, error) UpdateExhibitionApplyID(context.Context, *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) Detail(context.Context, *DetailRequest) (*CreateRequest, error) Update(context.Context, *CreateRequest) (*ApprovalResponse, error) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) MyWork(context.Context, *ListRequest) (*ListResponse, error) MySubmit(context.Context, *ListRequest) (*ListResponse, error) NowLevelByInfo(context.Context, *NowLevelByInfoRequest) (*WorkFlowResponse, error) Information(context.Context, *InformationRequest) (*InformationResponse, error) Viewed(context.Context, *ViewedRequest) (*ApprovalResponse, error) SetStatus(context.Context, *StatusRequest) (*StatusResponse, error) DetailSetting(context.Context, *DetailSettingRequest) (*SettingRequest, error) UpdateSetting(context.Context, *SettingRequest) (*SettingResponse, error) IsExistPayRight(context.Context, *IsExistPayRightRequest) (*IsExistPayRightResponse, error) ChangeBundlePay(context.Context, *ChangeBundlePayRequest) (*CommonResponse, error) CreateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) DetailType(context.Context, *TypeResponse) (*CreateTypeRequest, error) UpdateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) AllType(context.Context, *CommonRequest) (*AllTypeResponse, error) RemoveType(context.Context, *RemoveRequest) (*StatusResponse, error) AllGroup(context.Context, *CommonRequest) (*AllGroupResponse, error) // 财务报表审批 GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) // OA审批 更新 OA系统的 UUID UpdateApprovalOAUUID(context.Context, *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) mustEmbedUnimplementedApprovalServer() } // UnimplementedApprovalServer must be embedded to have forward compatible implementations. type UnimplementedApprovalServer struct { proxyImpl protocol.Invoker } func (UnimplementedApprovalServer) Create(context.Context, *CreateRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") } func (UnimplementedApprovalServer) UsedNumByUser(context.Context, *UsedNumByUserRequest) (*UsedNumByUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UsedNumByUser not implemented") } func (UnimplementedApprovalServer) UpdateExhibitionApplyID(context.Context, *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateExhibitionApplyID not implemented") } func (UnimplementedApprovalServer) Detail(context.Context, *DetailRequest) (*CreateRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method Detail not implemented") } func (UnimplementedApprovalServer) Update(context.Context, *CreateRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") } func (UnimplementedApprovalServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented") } func (UnimplementedApprovalServer) MyWork(context.Context, *ListRequest) (*ListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MyWork not implemented") } func (UnimplementedApprovalServer) MySubmit(context.Context, *ListRequest) (*ListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MySubmit not implemented") } func (UnimplementedApprovalServer) NowLevelByInfo(context.Context, *NowLevelByInfoRequest) (*WorkFlowResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NowLevelByInfo not implemented") } func (UnimplementedApprovalServer) Information(context.Context, *InformationRequest) (*InformationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Information not implemented") } func (UnimplementedApprovalServer) Viewed(context.Context, *ViewedRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Viewed not implemented") } func (UnimplementedApprovalServer) SetStatus(context.Context, *StatusRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetStatus not implemented") } func (UnimplementedApprovalServer) DetailSetting(context.Context, *DetailSettingRequest) (*SettingRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method DetailSetting not implemented") } func (UnimplementedApprovalServer) UpdateSetting(context.Context, *SettingRequest) (*SettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSetting not implemented") } func (UnimplementedApprovalServer) IsExistPayRight(context.Context, *IsExistPayRightRequest) (*IsExistPayRightResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsExistPayRight not implemented") } func (UnimplementedApprovalServer) ChangeBundlePay(context.Context, *ChangeBundlePayRequest) (*CommonResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeBundlePay not implemented") } func (UnimplementedApprovalServer) CreateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateType not implemented") } func (UnimplementedApprovalServer) DetailType(context.Context, *TypeResponse) (*CreateTypeRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method DetailType not implemented") } func (UnimplementedApprovalServer) UpdateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateType not implemented") } func (UnimplementedApprovalServer) AllType(context.Context, *CommonRequest) (*AllTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllType not implemented") } func (UnimplementedApprovalServer) RemoveType(context.Context, *RemoveRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveType not implemented") } func (UnimplementedApprovalServer) AllGroup(context.Context, *CommonRequest) (*AllGroupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllGroup not implemented") } func (UnimplementedApprovalServer) GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetName not implemented") } func (UnimplementedApprovalServer) UpdateApprovalOAUUID(context.Context, *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateApprovalOAUUID not implemented") } func (s *UnimplementedApprovalServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } func (s *UnimplementedApprovalServer) XXX_GetProxyImpl() protocol.Invoker { return s.proxyImpl } func (s *UnimplementedApprovalServer) XXX_ServiceDesc() *grpc_go.ServiceDesc { return &Approval_ServiceDesc } func (s *UnimplementedApprovalServer) XXX_InterfaceName() string { return "approvalFork.Approval" } func (UnimplementedApprovalServer) mustEmbedUnimplementedApprovalServer() {} // UnsafeApprovalServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ApprovalServer will // result in compilation errors. type UnsafeApprovalServer interface { mustEmbedUnimplementedApprovalServer() } func RegisterApprovalServer(s grpc_go.ServiceRegistrar, srv ApprovalServer) { s.RegisterService(&Approval_ServiceDesc, srv) } func _Approval_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Create", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_UsedNumByUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UsedNumByUserRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UsedNumByUser", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_UpdateExhibitionApplyID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateEhApplyIDRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateExhibitionApplyID", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_Detail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(DetailRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Detail", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Update", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(RemoveRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Remove", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_MyWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("MyWork", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_MySubmit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("MySubmit", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_NowLevelByInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(NowLevelByInfoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("NowLevelByInfo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_Information_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(InformationRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Information", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_Viewed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ViewedRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("Viewed", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_SetStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(StatusRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("SetStatus", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_DetailSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(DetailSettingRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("DetailSetting", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(SettingRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateSetting", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_IsExistPayRight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(IsExistPayRightRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("IsExistPayRight", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_ChangeBundlePay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ChangeBundlePayRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("ChangeBundlePay", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_CreateType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateTypeRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("CreateType", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_DetailType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(TypeResponse) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("DetailType", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_UpdateType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateTypeRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateType", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_AllType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CommonRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("AllType", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_RemoveType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(RemoveRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("RemoveType", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_AllGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CommonRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("AllGroup", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_GetName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetNameRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetName", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _Approval_UpdateApprovalOAUUID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateApprovalOAUUIDReq) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateApprovalOAUUID", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } // Approval_ServiceDesc is the grpc_go.ServiceDesc for Approval service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) var Approval_ServiceDesc = grpc_go.ServiceDesc{ ServiceName: "approvalFork.Approval", HandlerType: (*ApprovalServer)(nil), Methods: []grpc_go.MethodDesc{ { MethodName: "Create", Handler: _Approval_Create_Handler, }, { MethodName: "UsedNumByUser", Handler: _Approval_UsedNumByUser_Handler, }, { MethodName: "UpdateExhibitionApplyID", Handler: _Approval_UpdateExhibitionApplyID_Handler, }, { MethodName: "Detail", Handler: _Approval_Detail_Handler, }, { MethodName: "Update", Handler: _Approval_Update_Handler, }, { MethodName: "Remove", Handler: _Approval_Remove_Handler, }, { MethodName: "MyWork", Handler: _Approval_MyWork_Handler, }, { MethodName: "MySubmit", Handler: _Approval_MySubmit_Handler, }, { MethodName: "NowLevelByInfo", Handler: _Approval_NowLevelByInfo_Handler, }, { MethodName: "Information", Handler: _Approval_Information_Handler, }, { MethodName: "Viewed", Handler: _Approval_Viewed_Handler, }, { MethodName: "SetStatus", Handler: _Approval_SetStatus_Handler, }, { MethodName: "DetailSetting", Handler: _Approval_DetailSetting_Handler, }, { MethodName: "UpdateSetting", Handler: _Approval_UpdateSetting_Handler, }, { MethodName: "IsExistPayRight", Handler: _Approval_IsExistPayRight_Handler, }, { MethodName: "ChangeBundlePay", Handler: _Approval_ChangeBundlePay_Handler, }, { MethodName: "CreateType", Handler: _Approval_CreateType_Handler, }, { MethodName: "DetailType", Handler: _Approval_DetailType_Handler, }, { MethodName: "UpdateType", Handler: _Approval_UpdateType_Handler, }, { MethodName: "AllType", Handler: _Approval_AllType_Handler, }, { MethodName: "RemoveType", Handler: _Approval_RemoveType_Handler, }, { MethodName: "AllGroup", Handler: _Approval_AllGroup_Handler, }, { MethodName: "GetName", Handler: _Approval_GetName_Handler, }, { MethodName: "UpdateApprovalOAUUID", Handler: _Approval_UpdateApprovalOAUUID_Handler, }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "approvalFork.proto", }