feat: add docs build action

This commit is contained in:
engigu
2026-03-10 20:12:07 +08:00
parent 6d61c18539
commit 96e792c979
27 changed files with 4111 additions and 4176 deletions
-3
View File
@@ -59,9 +59,6 @@ func Setup(c *Controllers) *gin.Engine {
// 1. [ location /assets ] 静态资源路由
initStaticRoutes(root)
// 2. [ location /openapi ] OpenAPI 文档路由
initOpenAPIRoutes(root, urlPrefix)
// 3. [ location /api ] 内部 API 路由组
apiV1 := root.Group("/api/v1")
initPublicAPIRoutes(apiV1, c) // 公开接口 (无需认证)