This commit is contained in:
2026-06-19 10:56:52 +08:00
parent d71a23fa57
commit 2dcba2e5d9
10 changed files with 310 additions and 80 deletions

View File

@@ -31,5 +31,6 @@ func (r *PublicQueryWhitelistRoutes) Register(router *sharedhttp.GinRouter) {
group := router.GetEngine().Group("/api/v1/query-whitelist")
group.Use(r.domainAuthMiddleware.Handle(""))
group.POST("/entries", r.handler.CreateEntry)
group.POST("/entries/append", r.handler.AppendEntry)
r.logger.Info("查询白名单公开接口路由注册完成")
}