mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 06:58:54 +08:00
20 lines
593 B
Go
20 lines
593 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type WafCaServerInfoRouter struct {
|
|
}
|
|
|
|
func (receiver *WafCaServerInfoRouter) InitWafCaServerInfoRouter(group *gin.RouterGroup) {
|
|
api := api.APIGroupAPP.WafCaServerInfoApi
|
|
router := group.Group("")
|
|
router.POST("/samwaf/wafhost/caserverinfo/add", api.AddApi)
|
|
router.POST("/samwaf/wafhost/caserverinfo/list", api.GetListApi)
|
|
router.GET("/samwaf/wafhost/caserverinfo/detail", api.GetDetailApi)
|
|
router.POST("/samwaf/wafhost/caserverinfo/edit", api.ModifyApi)
|
|
router.GET("/samwaf/wafhost/caserverinfo/del", api.DelApi)
|
|
}
|