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 ¶
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 ¶
func NewDeletesFileLogic ¶
func NewDeletesFileLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletesFileLogic
删除文件列表
func (*DeletesFileLogic) DeletesFile ¶
type FindFileListLogic ¶
func NewFindFileListLogic ¶
func NewFindFileListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *FindFileListLogic
分页获取文件列表
func (*FindFileListLogic) FindFileList ¶
type ListUploadFileLogic ¶
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 ¶
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.