example

package
v0.0.0-...-805f319 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CustomerServiceApp = new(CustomerService)
View Source
var FileUploadAndDownloadServiceApp = new(FileUploadAndDownloadService)

Functions

This section is empty.

Types

type AttachmentCategoryService

type AttachmentCategoryService struct{}

func (*AttachmentCategoryService) AddCategory

func (a *AttachmentCategoryService) AddCategory(req *example.ExaAttachmentCategory) (err error)

AddCategory 创建/更新的分类

func (*AttachmentCategoryService) DeleteCategory

func (a *AttachmentCategoryService) DeleteCategory(id *int) error

DeleteCategory 删除分类

func (*AttachmentCategoryService) GetCategoryList

func (a *AttachmentCategoryService) GetCategoryList() (res []*example.ExaAttachmentCategory, err error)

GetCategoryList 分类列表

type CustomerService

type CustomerService struct{}

func (*CustomerService) CreateExaCustomer

func (exa *CustomerService) CreateExaCustomer(e example.ExaCustomer) (err error)

func (*CustomerService) DeleteExaCustomer

func (exa *CustomerService) DeleteExaCustomer(e example.ExaCustomer) (err error)

func (*CustomerService) GetCustomerInfoList

func (exa *CustomerService) GetCustomerInfoList(sysUserAuthorityID uint, info request.PageInfo) (list interface{}, total int64, err error)

func (*CustomerService) GetExaCustomer

func (exa *CustomerService) GetExaCustomer(id uint) (customer example.ExaCustomer, err error)

func (*CustomerService) UpdateExaCustomer

func (exa *CustomerService) UpdateExaCustomer(e *example.ExaCustomer) (err error)

type FileUploadAndDownloadService

type FileUploadAndDownloadService struct{}

func (*FileUploadAndDownloadService) CreateFileChunk

func (e *FileUploadAndDownloadService) CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error

func (*FileUploadAndDownloadService) DeleteFile

func (*FileUploadAndDownloadService) DeleteFileChunk

func (e *FileUploadAndDownloadService) DeleteFileChunk(fileMd5 string, filePath string) error

func (*FileUploadAndDownloadService) EditFileName

EditFileName 编辑文件名或者备注

func (*FileUploadAndDownloadService) FindFile

func (*FileUploadAndDownloadService) FindOrCreateFile

func (e *FileUploadAndDownloadService) FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (file example.ExaFile, err error)

func (*FileUploadAndDownloadService) GetFileRecordInfoList

func (*FileUploadAndDownloadService) ImportURL

func (*FileUploadAndDownloadService) Upload

func (*FileUploadAndDownloadService) UploadFile

func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string, classId int) (file example.ExaFileUploadAndDownload, err error)

Jump to

Keyboard shortcuts

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