Files
stat_center/router/stat.go
T
2026-05-20 16:13:58 +08:00

82 lines
2.3 KiB
Go

package router
import (
"github.com/gin-gonic/gin"
"stat/api/statApi"
)
func statRouter(router *gin.RouterGroup) {
blocChannelCodeStat := router.Group("/blocChannelCodeStat")
{
blocChannelCodeStat.POST("/list", statApi.ListBlocChannelCodeStat)
blocChannelCodeStat.POST("/export", statApi.ExportBlocChannelCodeStat)
}
gameStat := router.Group("/game")
{
gameStat.POST("/withdraw/list", statApi.GameWithdrawDetails)
gameStat.POST("/recharge/list", statApi.GameRechargerDetails)
}
daily := router.Group("/dailyStat")
{
daily.POST("/list", statApi.ListDailyStat)
daily.POST("/export", statApi.ListDailyStatExport)
}
dailyhour := router.Group("/dailyhour")
{
dailyhour.POST("/list", statApi.ListDailyHourStat)
dailyhour.POST("/export", statApi.ListDailyHourStatExport)
}
minuteStat := router.Group("/minuteStat")
{
minuteStat.POST("/list", statApi.ListMinuteStat)
}
hourStatLine := router.Group("/hourStat")
{
hourStatLine.POST("/list", statApi.ListHourStatLine)
}
blocDailyStat := router.Group("/blocDailyStat")
{
blocDailyStat.POST("/list", statApi.ListBlocDailyStat)
}
blocDailyStatTotal := router.Group("/blocDailyStatTotal")
{
blocDailyStatTotal.POST("/list", statApi.ListBlocDailyTotalStat)
}
blocRegisterDetails := router.Group("/blocRegisterDetails")
{
blocRegisterDetails.POST("/list", statApi.ListBlocRegisterDetails)
}
BlocRechargeChannel := router.Group("/BlocRechargeChannel")
{
BlocRechargeChannel.POST("/list", statApi.ListBlocRechargeChannel)
}
blocRechargeDetails := router.Group("/blocRechargeDetails")
{
blocRechargeDetails.POST("/list", statApi.ListBlocRechargerDetails)
}
blocBlocWithdrawDetails := router.Group("/blocBlocWithdrawDetails")
{
blocBlocWithdrawDetails.POST("/list", statApi.ListBlocWithdrawDetails)
}
landPage := router.Group("/landPage")
{
landPage.POST("/daily/list", statApi.ListLandPageDailyStat)
landPage.POST("/hour/list", statApi.ListLandPageHourStat)
landPage.POST("/summary/downTotal/list", statApi.ListLandPageSummaryDownTotal)
}
jtsp := router.Group("/daily-stat")
{
jtsp.POST("/jtspV2", statApi.GetBlocDailyStatTgbotInfo)
jtsp.POST("/hour", statApi.GetAppHourDataStatInfo)
jtsp.POST("/rank", statApi.GetAppHourDataStatInfoRank)
jtsp.POST("/total", statApi.GetTianyuAppDailyData)
}
}