mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 14:59:18 +08:00
18 lines
449 B
Go
18 lines
449 B
Go
package router
|
|
|
|
import (
|
|
"SamWaf/api"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
type AnalysisRouter struct {
|
|
}
|
|
|
|
func (receiver *AnalysisRouter) InitAnalysisRouter(group *gin.RouterGroup) {
|
|
analysisApi := api.APIGroupAPP.WafAnalysisApi
|
|
router := group.Group("")
|
|
//数据分析
|
|
router.GET("/samwaf/analysis/wafanalysisdaycountryrange", analysisApi.StatAnalysisDayCountryRangeApi)
|
|
router.GET("/samwaf/analysis/spider", analysisApi.AnalysisSpiderRangeApi)
|
|
}
|