example

package
v0.0.0-...-ffc85bd Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

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 (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 ExcelService

type ExcelService struct{}

func (*ExcelService) ExportExcel

func (exa *ExcelService) ExportExcel(titles []string, infoList interface{}) (string, error)

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 (*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 (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (list interface{}, total int64, err error)

func (*FileUploadAndDownloadService) Upload

func (*FileUploadAndDownloadService) UploadFile

Jump to

Keyboard shortcuts

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