16 lines
330 B
Go
16 lines
330 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)
|
|
}
|
|
} |