Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
17 lines
331 B
Go
17 lines
331 B
Go
package router
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"videoweb/web/api/web_ipblack"
|
|
)
|
|
|
|
func ipBlackRouter(router *gin.RouterGroup) {
|
|
// 文件上传
|
|
group := router.Group("/ipblack")
|
|
{
|
|
group.POST("/list", web_ipblack.IpBlackList)
|
|
group.POST("/add", web_ipblack.IpBlackAdd)
|
|
group.POST("/del", web_ipblack.IpBlackDel)
|
|
}
|
|
}
|