// Code generated by goctl. DO NOT EDIT! // Source: integral.proto package server import ( "context" "app.yhyue.com/moapp/jyPoints/rpc/integral" "app.yhyue.com/moapp/jyPoints/rpc/internal/logic" "app.yhyue.com/moapp/jyPoints/rpc/internal/svc" ) type IntegralServer struct { svcCtx *svc.ServiceContext } func NewIntegralServer(svcCtx *svc.ServiceContext) *IntegralServer { return &IntegralServer{ svcCtx: svcCtx, } } // 收获积分 func (s *IntegralServer) IntegralHarvest(ctx context.Context, in *integral.Req) (*integral.Resp, error) { l := logic.NewIntegralHarvestLogic(ctx, s.svcCtx) return l.IntegralHarvest(in) } // 消耗积分 func (s *IntegralServer) IntegralConsume(ctx context.Context, in *integral.Req) (*integral.Resp, error) { l := logic.NewIntegralConsumeLogic(ctx, s.svcCtx) return l.IntegralConsume(in) } // 积分余额查询 func (s *IntegralServer) IntegralBalanceCheck(ctx context.Context, in *integral.Req) (*integral.Resp, error) { l := logic.NewIntegralBalanceCheckLogic(ctx, s.svcCtx) return l.IntegralBalanceCheck(in) } // 积分明细查询 func (s *IntegralServer) IntegralDetailedCheck(ctx context.Context, in *integral.Req) (*integral.RespList, error) { l := logic.NewIntegralDetailedCheckLogic(ctx, s.svcCtx) return l.IntegralDetailedCheck(in) } // 积分守护 func (s *IntegralServer) IntegralGuard(ctx context.Context, in *integral.Req) (*integral.Resp, error) { l := logic.NewIntegralGuardLogic(ctx, s.svcCtx) return l.IntegralGuard(in) } // 到期积分查询 func (s *IntegralServer) IntegralExpireCheck(ctx context.Context, in *integral.Req) (*integral.Resp, error) { l := logic.NewIntegralExpireCheckLogic(ctx, s.svcCtx) return l.IntegralExpireCheck(in) }