style: linker

This commit is contained in:
songzhibin97
2021-12-06 12:44:26 +08:00
parent 2b9365da17
commit 0fe4750991
95 changed files with 208 additions and 235 deletions

View File

@@ -8,6 +8,8 @@ type ApiGroup struct {
FileUploadAndDownloadApi
}
var excelService = service.ServiceGroupApp.ExampleServiceGroup.ExcelService
var customerService = service.ServiceGroupApp.ExampleServiceGroup.CustomerService
var fileUploadAndDownloadService = service.ServiceGroupApp.ExampleServiceGroup.FileUploadAndDownloadService
var (
excelService = service.ServiceGroupApp.ExampleServiceGroup.ExcelService
customerService = service.ServiceGroupApp.ExampleServiceGroup.CustomerService
fileUploadAndDownloadService = service.ServiceGroupApp.ExampleServiceGroup.FileUploadAndDownloadService
)

View File

@@ -11,8 +11,7 @@ import (
"go.uber.org/zap"
)
type CustomerApi struct {
}
type CustomerApi struct{}
// @Tags ExaCustomer
// @Summary 创建客户

View File

@@ -9,8 +9,7 @@ import (
"go.uber.org/zap"
)
type ExcelApi struct {
}
type ExcelApi struct{}
// /excel/importExcel 接口与upload接口作用类似只是把文件存到resource/excel目录下用于导入Excel时存放Excel文件(ExcelImport.xlsx)
// /excel/loadExcel接口用于读取resource/excel目录下的文件((ExcelImport.xlsx)并加载为[]model.SysBaseMenu类型的示例数据

View File

@@ -10,8 +10,7 @@ import (
"go.uber.org/zap"
)
type FileUploadAndDownloadApi struct {
}
type FileUploadAndDownloadApi struct{}
// @Tags ExaFileUploadAndDownload
// @Summary 上传文件示例