package logic import ( "context" "app.yhyue.com/moapp/jyResourcesCenter/api/internal/svc" "app.yhyue.com/moapp/jyResourcesCenter/api/internal/types" "github.com/tal-tech/go-zero/core/logx" ) type FindPreviewLogic struct { logx.Logger ctx context.Context svcCtx *svc.ServiceContext } func NewFindPreviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) FindPreviewLogic { return FindPreviewLogic{ Logger: logx.WithContext(ctx), ctx: ctx, svcCtx: svcCtx, } } func (l *FindPreviewLogic) FindPreview(req types.PreviewReq) (*types.PreviewRes, error) { // todo: add your logic here and delete this line return &types.PreviewRes{}, nil }