mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
17 lines
347 B
Go
17 lines
347 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type SysLogRouter struct {
|
|
}
|
|
|
|
func (receiver *SysLogRouter) InitSysLogRouter(group *gin.RouterGroup) {
|
|
api := api.APIGroupAPP.WafSysLogApi
|
|
router := group.Group("")
|
|
router.GET("/samwaf/sys_log/list", api.GetListApi)
|
|
router.GET("/samwaf/sys_log/detail", api.GetDetailApi)
|
|
}
|