package logic import ( "context" "points_service/rpc/integral" "points_service/rpc/internal/svc" "github.com/tal-tech/go-zero/core/logx" ) type IntegralCheckLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewIntegralCheckLogic(ctx context.Context, svcCtx *svc.ServiceContext) *IntegralCheckLogic { return &IntegralCheckLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // 到期积分查询 func (l *IntegralCheckLogic) IntegralCheck(in *integral.AddReq) (*integral.AddResp, error) { // todo: add your logic here and delete this line return &integral.AddResp{}, nil }