Initial commit

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-23 11:07:42 +08:00
co-authored by Claude Opus 5.5
commit 7974a42301
633 changed files with 120248 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
package router
import (
webanalytics "videoweb/web/api/web_analytics"
"videoweb/web/api/web_cfg"
"github.com/gin-gonic/gin"
)
func syscfgRouter(router *gin.RouterGroup) {
system := router.Group("/syscfg")
{
system.GET("/get", web_cfg.GetCfg)
system.POST("/update", web_cfg.UpdateCfg)
}
stat := router.Group("/stat")
{
stat.GET("/analytics", webanalytics.GetAnalyticsStat)
stat.GET("/daily/analytics", webanalytics.GetAnalyticsDailyStat)
}
}