基础架构变更 增加模块化
This commit is contained in:
15
server/api/v1/example/enter.go
Normal file
15
server/api/v1/example/enter.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package example
|
||||
|
||||
import "gin-vue-admin/service"
|
||||
|
||||
type ApiGroup struct {
|
||||
CustomerApi
|
||||
ExcelApi
|
||||
FileUploadAndDownloadApi
|
||||
SimpleUploaderApi
|
||||
}
|
||||
|
||||
var fileUploadAndDownloadService = service.ServiceGroupApp.ExampleServiceGroup.FileUploadAndDownloadService
|
||||
var customerService = service.ServiceGroupApp.ExampleServiceGroup.CustomerService
|
||||
var excelService = service.ServiceGroupApp.ExampleServiceGroup.ExcelService
|
||||
var simpleUploaderService = service.ServiceGroupApp.ExampleServiceGroup.SimpleUploaderService
|
Reference in New Issue
Block a user