This commit is contained in:
zeaslity
2025-03-13 11:22:44 +08:00
parent 34147b2f69
commit 4f8a8a6ff2
6 changed files with 117 additions and 51 deletions

View File

@@ -17,7 +17,7 @@ func main() {
return
}
// 初始化授权服务
// 初始化授权服务(使用单例模式)
authService := services.NewAuthService()
if authService == nil {
log.Fatalf("初始化授权服务失败")