mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
18 lines
416 B
Go
18 lines
416 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type NotifyLogRouter struct {
|
|
}
|
|
|
|
func (receiver *NotifyLogRouter) InitNotifyLogRouter(group *gin.RouterGroup) {
|
|
api := api.APIGroupAPP.WafNotifyLogApi
|
|
router := group.Group("")
|
|
router.POST("/samwaf/notify/log/list", api.GetListApi)
|
|
router.GET("/samwaf/notify/log/detail", api.GetDetailApi)
|
|
router.GET("/samwaf/notify/log/del", api.DelApi)
|
|
}
|