代码优化

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 17:11:58 +08:00
co-authored by Claude Opus 4.7
parent b04d10885e
commit f8ae5e13dd
8 changed files with 159 additions and 64 deletions
+1
View File
@@ -115,6 +115,7 @@ func registerRouter(router *gin.Engine) {
homeConfigRouter(rootRouter)
feedbackRouter(rootRouter)
contactUsRouter(rootRouter)
seopushRouter(rootRouter)
}
// 第三方回调路由(免鉴权,挂在 engine 上而非 /api/web 分组)
thirdRouter(router)
+14
View File
@@ -0,0 +1,14 @@
package router
import (
"videoweb/web/api/web_seopush"
"github.com/gin-gonic/gin"
)
func seopushRouter(root *gin.RouterGroup) {
group := root.Group("/seopush")
{
group.POST("/indexnow/bulk", web_seopush.SubmitHomeAndThemes)
}
}