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

View File

@@ -0,0 +1,12 @@
package auth_service
import (
"schisandra-cloud-album/global"
"schisandra-cloud-album/model"
)
func (AuthService) GetUserList() []*model.ScaAuthUser {
data := make([]*model.ScaAuthUser, 0)
global.DB.Find(&data)
return data
}

View File

@@ -0,0 +1,3 @@
package auth_service
type AuthService struct{}