Documentation ¶
Index ¶
- type CustomerService
- func (exa *CustomerService) CreateExaCustomer(e example.ExaCustomer) (err error)
- func (exa *CustomerService) DeleteExaCustomer(e example.ExaCustomer) (err error)
- func (exa *CustomerService) GetCustomerInfoList(sysUserAuthorityID uint, info request.PageInfo) (list interface{}, total int64, err error)
- func (exa *CustomerService) GetExaCustomer(id uint) (customer example.ExaCustomer, err error)
- func (exa *CustomerService) UpdateExaCustomer(e *example.ExaCustomer) (err error)
- type ExcelService
- type FileUploadAndDownloadService
- func (e *FileUploadAndDownloadService) CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error
- func (e *FileUploadAndDownloadService) DeleteFile(file example.ExaFileUploadAndDownload) (err error)
- func (e *FileUploadAndDownloadService) DeleteFileChunk(fileMd5 string, filePath string) error
- func (e *FileUploadAndDownloadService) EditFileName(file example.ExaFileUploadAndDownload) (err error)
- func (e *FileUploadAndDownloadService) FindFile(id uint) (example.ExaFileUploadAndDownload, error)
- func (e *FileUploadAndDownloadService) FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (file example.ExaFile, err error)
- func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (list interface{}, total int64, err error)
- func (e *FileUploadAndDownloadService) Upload(file example.ExaFileUploadAndDownload) error
- func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string) (file example.ExaFileUploadAndDownload, err error)
- type ServiceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 (*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 ExcelService ¶
type ExcelService struct{}
func (*ExcelService) ParseExcel2InfoList ¶
func (exa *ExcelService) ParseExcel2InfoList() ([]system.SysBaseMenu, error)
func (*ExcelService) ParseInfoList2Excel ¶
func (exa *ExcelService) ParseInfoList2Excel(infoList []system.SysBaseMenu, filePath string) error
type FileUploadAndDownloadService ¶
type FileUploadAndDownloadService struct{}
func (*FileUploadAndDownloadService) CreateFileChunk ¶
func (e *FileUploadAndDownloadService) CreateFileChunk(id uint, fileChunkPath string, fileChunkNumber int) error
func (*FileUploadAndDownloadService) DeleteFile ¶
func (e *FileUploadAndDownloadService) DeleteFile(file example.ExaFileUploadAndDownload) (err error)
func (*FileUploadAndDownloadService) DeleteFileChunk ¶
func (e *FileUploadAndDownloadService) DeleteFileChunk(fileMd5 string, filePath string) error
func (*FileUploadAndDownloadService) EditFileName ¶
func (e *FileUploadAndDownloadService) EditFileName(file example.ExaFileUploadAndDownload) (err error)
EditFileName 编辑文件名或者备注
func (*FileUploadAndDownloadService) FindFile ¶
func (e *FileUploadAndDownloadService) FindFile(id uint) (example.ExaFileUploadAndDownload, error)
func (*FileUploadAndDownloadService) FindOrCreateFile ¶
func (*FileUploadAndDownloadService) GetFileRecordInfoList ¶
func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (list interface{}, total int64, err error)
func (*FileUploadAndDownloadService) Upload ¶
func (e *FileUploadAndDownloadService) Upload(file example.ExaFileUploadAndDownload) error
func (*FileUploadAndDownloadService) UploadFile ¶
func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string) (file example.ExaFileUploadAndDownload, err error)
type ServiceGroup ¶
type ServiceGroup struct { ExcelService CustomerService FileUploadAndDownloadService }
Click to show internal directories.
Click to hide internal directories.