Files
SamWaf/router/waf_common.go
2025-10-30 11:20:58 +08:00

19 lines
416 B
Go

package router
import (
"SamWaf/api"
"github.com/gin-gonic/gin"
)
type WafCommonRouter struct {
}
func (receiver *WafCommonRouter) InitWafCommonRouter(group *gin.RouterGroup) {
api := api.APIGroupAPP.WafCommonApi
router := group.Group("")
router.GET("/samwaf/export", api.ExportExcelApi)
router.POST("/samwaf/import", api.ImportExcelApi)
//心跳数据
router.GET("/samwaf/heartbeat", api.HeartbeatApi)
}