➕ add swagger
This commit is contained in:
11
api/api.go
Normal file
11
api/api.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package api
|
||||
|
||||
import "schisandra-cloud-album/api/auth_api"
|
||||
|
||||
// Apis 统一导出的api
|
||||
type Apis struct {
|
||||
AuthApi auth_api.AuthAPI
|
||||
}
|
||||
|
||||
// Api new函数实例化,实例化完成后会返回结构体地指针类型
|
||||
var Api = new(Apis)
|
Reference in New Issue
Block a user