mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
21 lines
620 B
Go
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)
|
|
}
|