对接统计

This commit is contained in:
2026-09-16 15:44:50 +08:00
parent 97c9588e5d
commit 3e04b04a90
4 changed files with 390 additions and 1 deletions
+5
View File
@@ -6,6 +6,11 @@ import (
"github.com/gin-gonic/gin"
)
// statcenterRouter 数据中心拉取同步数据(协议与哔哩 /api/web/statcenter/sync 一致)
func statcenterRouter(router *gin.RouterGroup) {
router.POST("/sync", statcenterctl.StatcenterSyncList)
}
// syncRouter 数据同步
func syncRouter(router *gin.RouterGroup) {
routerGroup := router.Group("/router")