Files
2026-05-20 16:13:58 +08:00

28 lines
759 B
Go

package router
import (
"stat/api/innerapi"
"stat/middleware/inner"
"stat/statg"
"github.com/gin-gonic/gin"
)
func innerRouter(router *gin.RouterGroup) {
plain := router.Group("/inner")
{
plain.POST("/appDownload", innerapi.AppDownload)
plain.POST("/recharge/list", innerapi.InnerRechargeList)
plain.POST("/rechargebotcmd/list", innerapi.InnerRechargeBotcmdList)
}
crypt := router.Group("/inner", inner.Crypt(statg.Conf.InnerKey))
{
crypt.POST("/botMonthStat", innerapi.BotMonthStatList)
crypt.POST("/botStatList", innerapi.BotDailyHourList)
crypt.POST("/botStatOne", innerapi.BotDailyHourOne)
crypt.POST("/appList", innerapi.ListAppInfo)
crypt.POST("/sendTgMessage", innerapi.SendTgMessage)
///api/stat/inner/sendTgMessage
}
}