Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package router
|
||||
|
||||
import (
|
||||
"videoweb/web/api/web_recharge"
|
||||
"videoweb/web/api/web_video"
|
||||
"videoweb/web/middleware/apilimitHandler"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func wbVideoDataRouter(r *gin.Engine) {
|
||||
limiter := apilimitHandler.NewRouteHourlyLimiter(100)
|
||||
router := r.Group("/wbapi/hgdj")
|
||||
{
|
||||
router.Use(limiter.Middleware())
|
||||
//router.GET("/hottag", web_video.GetHotTagByPlayData)
|
||||
router.GET("/ipstat", web_video.GetIpStatData)
|
||||
router.GET("/recharge/summary", web_recharge.RechargeSummary)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user