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 string, info request.PageInfo) (err error, list interface{}, total int64)
- func (exa *CustomerService) GetExaCustomer(id uint) (err error, customer example.ExaCustomer)
- 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, fileName string, filePath string) error
- func (e *FileUploadAndDownloadService) FindFile(id uint) (error, example.ExaFileUploadAndDownload)
- func (e *FileUploadAndDownloadService) FindOrCreateFile(fileMd5 string, fileName string, chunkTotal int) (err error, file example.ExaFile)
- func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (err error, list interface{}, total int64)
- func (e *FileUploadAndDownloadService) Upload(file example.ExaFileUploadAndDownload) error
- func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string) (err error, file example.ExaFileUploadAndDownload)
- 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) (err error, customer example.ExaCustomer)
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, fileName string, filePath string) error
func (*FileUploadAndDownloadService) FindFile ¶
func (e *FileUploadAndDownloadService) FindFile(id uint) (error, example.ExaFileUploadAndDownload)
func (*FileUploadAndDownloadService) FindOrCreateFile ¶
func (*FileUploadAndDownloadService) GetFileRecordInfoList ¶
func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (err error, list interface{}, total int64)
func (*FileUploadAndDownloadService) Upload ¶
func (e *FileUploadAndDownloadService) Upload(file example.ExaFileUploadAndDownload) error
func (*FileUploadAndDownloadService) UploadFile ¶
func (e *FileUploadAndDownloadService) UploadFile(header *multipart.FileHeader, noSave string) (err error, file example.ExaFileUploadAndDownload)
type ServiceGroup ¶
type ServiceGroup struct { ExcelService CustomerService FileUploadAndDownloadService }
Click to show internal directories.
Click to hide internal directories.