Files
SamWaf/router/waf_system_config.go
2025-05-21 09:14:59 +08:00

21 lines
620 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
type SystemConfigRouter struct {
}
func (receiver *SystemConfigRouter) InitSystemConfigRouter(group *gin.RouterGroup) {
api := api.APIGroupAPP.WafSystemConfigApi
router := group.Group("")
router.POST("/samwaf/systemconfig/list", api.GetListApi)
router.GET("/samwaf/systemconfig/detail", api.GetDetailApi)
router.GET("/samwaf/systemconfig/getdetailByItem", api.GetDetailByItemApi)
router.POST("/samwaf/systemconfig/add", api.AddApi)
router.GET("/samwaf/systemconfig/del", api.DelApi)
router.POST("/samwaf/systemconfig/edit", api.ModifyApi)
}