This commit is contained in:
Mrx
2026-02-04 17:09:17 +08:00
parent 1a44eab144
commit bfbdf983b0
38 changed files with 1719 additions and 1725 deletions

View File

@@ -58,6 +58,7 @@ func main() {
server := rest.MustNewServer(c.RestConf)
server.Use(middleware.GlobalSourceInterceptor)
server.Use(middleware.UserDisableInterceptor(svcContext.UserModel, svcContext.Config.JwtAuth.AccessSecret))
defer server.Stop()
handler.RegisterHandlers(server, svcContext)