file

package
v0.0.0-...-6d7266f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertFileUploadTypes

func ConvertFileUploadTypes(in *resourcerpc.FileUploadDetails) (out *types.FileBackDTO)

Types

type AddFileFolderLogic

type AddFileFolderLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewAddFileFolderLogic

func NewAddFileFolderLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddFileFolderLogic

创建文件目录

func (*AddFileFolderLogic) AddFileFolder

func (l *AddFileFolderLogic) AddFileFolder(req *types.FileFolderNewReq) (resp *types.FileBackDTO, err error)

type DeletesFileLogic

type DeletesFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeletesFileLogic

func NewDeletesFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletesFileLogic

删除文件列表

func (*DeletesFileLogic) DeletesFile

func (l *DeletesFileLogic) DeletesFile(req *types.IdsReq) (resp *types.BatchResp, err error)

type FindFileListLogic

type FindFileListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewFindFileListLogic

func NewFindFileListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindFileListLogic

分页获取文件列表

func (*FindFileListLogic) FindFileList

func (l *FindFileListLogic) FindFileList(req *types.FileQuery) (resp *types.PageResp, err error)

type ListUploadFileLogic

type ListUploadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewListUploadFileLogic

func NewListUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListUploadFileLogic

获取文件列表

func (*ListUploadFileLogic) ListUploadFile

func (l *ListUploadFileLogic) ListUploadFile(req *types.ListUploadFileReq) (resp *types.ListUploadFileResp, err error)

type MultiUploadFileLogic

type MultiUploadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewMultiUploadFileLogic

func NewMultiUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MultiUploadFileLogic

上传文件列表

func (*MultiUploadFileLogic) MultiUploadFile

func (l *MultiUploadFileLogic) MultiUploadFile(req *types.MultiUploadFileReq, r *http.Request) (resp []*types.FileBackDTO, err error)

type UploadFileLogic

type UploadFileLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUploadFileLogic

func NewUploadFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UploadFileLogic

上传文件

func (*UploadFileLogic) UploadFile

func (l *UploadFileLogic) UploadFile(req *types.UploadFileReq, r *http.Request) (resp *types.FileBackDTO, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL