// Code generated by goctl. DO NOT EDIT. // Source: transfer.proto package server import ( "context" "trasfer_middleware/cmd/rpc/internal/logic" "trasfer_middleware/cmd/rpc/internal/svc" "trasfer_middleware/cmd/rpc/pb/transfer" ) type TransferServer struct { svcCtx *svc.ServiceContext transfer.UnimplementedTransferServer } func NewTransferServer(svcCtx *svc.ServiceContext) *TransferServer { return &TransferServer{ svcCtx: svcCtx, } } func (s *TransferServer) GetResellerByAppId(ctx context.Context, in *transfer.GetResellerByAppIdReq) (*transfer.GetResellerByAppIdRes, error) { l := logic.NewGetResellerByAppIdLogic(ctx, s.svcCtx) return l.GetResellerByAppId(in) } func (s *TransferServer) ZltxOrderRecharge(ctx context.Context, in *transfer.ZltxOrderRechargeReq) (*transfer.DefaultRes, error) { l := logic.NewZltxOrderRechargeLogic(ctx, s.svcCtx) return l.ZltxOrderRecharge(in) } func (s *TransferServer) ZltxOrderRechargeQuery(ctx context.Context, in *transfer.ZltxOrderRechargeQueryReq) (*transfer.ZltxOrderRechargeQueryRes, error) { l := logic.NewZltxOrderRechargeQueryLogic(ctx, s.svcCtx) return l.ZltxOrderRechargeQuery(in) } func (s *TransferServer) ZltxOrderCard(ctx context.Context, in *transfer.ZltxOrderCardReq) (*transfer.DefaultRes, error) { l := logic.NewZltxOrderCardLogic(ctx, s.svcCtx) return l.ZltxOrderCard(in) } func (s *TransferServer) ZltxOrderCardQuery(ctx context.Context, in *transfer.ZltxOrderCardQueryReq) (*transfer.ZltxOrderCardQueryRes, error) { l := logic.NewZltxOrderCardQueryLogic(ctx, s.svcCtx) return l.ZltxOrderCardQuery(in) } func (s *TransferServer) ZltxOrderSms(ctx context.Context, in *transfer.ZltxOrderSmsReq) (*transfer.ZltxOrderSmsRes, error) { l := logic.NewZltxOrderSmsLogic(ctx, s.svcCtx) return l.ZltxOrderSms(in) } func (s *TransferServer) ZltxRechargeInfo(ctx context.Context, in *transfer.DefaultReq) (*transfer.ZltxRechargeInfoRes, error) { l := logic.NewZltxRechargeInfoLogic(ctx, s.svcCtx) return l.ZltxRechargeInfo(in) } func (s *TransferServer) ZltxRechargeProduct(ctx context.Context, in *transfer.DefaultReq) (*transfer.ZltxRechargeProductRes, error) { l := logic.NewZltxRechargeProductLogic(ctx, s.svcCtx) return l.ZltxRechargeProduct(in) }