example

package
v0.0.0-...-874b27b Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: Apache-2.0 Imports: 13 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 string, info request.PageInfo) (err error, list interface{}, total int64)

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 (*FileUploadAndDownloadService) DeleteFileChunk

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

func (*FileUploadAndDownloadService) FindFile

func (*FileUploadAndDownloadService) FindOrCreateFile

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

func (*FileUploadAndDownloadService) GetFileRecordInfoList

func (e *FileUploadAndDownloadService) GetFileRecordInfoList(info request.PageInfo) (err error, list interface{}, total int64)

func (*FileUploadAndDownloadService) Upload

func (*FileUploadAndDownloadService) UploadFile

Jump to

Keyboard shortcuts

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