add swagger

This commit is contained in:
landaiqing
2024-08-05 15:44:33 +08:00
parent f629610d34
commit 9b36d2fff0
23 changed files with 725 additions and 28 deletions

13
service/service.go Normal file
View File

@@ -0,0 +1,13 @@
package service
import (
"schisandra-cloud-album/service/auth_service"
)
// Services 统一导出的service
type Services struct {
AuthService auth_service.AuthService
}
// Service new函数实例化实例化完成后会返回结构体地指针类型
var Service = new(Services)