Files
SamWaf/router/waf_sensitive.go
2024-09-10 11:28:51 +08:00

20 lines
665 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
type SensitiveRouter struct {
}
func (receiver *SensitiveRouter) InitSensitiveRouter(group *gin.RouterGroup) {
SensitiveRouterApi := api.APIGroupAPP.WafSensitiveApi
router := group.Group("")
router.POST("/samwaf/wafhost/sensitive/list", SensitiveRouterApi.GetListApi)
router.GET("/samwaf/wafhost/sensitive/detail", SensitiveRouterApi.GetDetailApi)
router.POST("/samwaf/wafhost/sensitive/add", SensitiveRouterApi.AddApi)
router.GET("/samwaf/wafhost/sensitive/del", SensitiveRouterApi.DelSensitiveApi)
router.POST("/samwaf/wafhost/sensitive/edit", SensitiveRouterApi.ModifySensitiveApi)
}