Commit 07c304c3 authored by qiuqunfeng's avatar qiuqunfeng
Browse files

commit

parent 2964b4c2
...@@ -11,7 +11,7 @@ func SetWafRouter(e *gin.Engine, client *versioned.Clientset, db *gorm.DB) { ...@@ -11,7 +11,7 @@ func SetWafRouter(e *gin.Engine, client *versioned.Clientset, db *gorm.DB) {
v1 := e.Group("v1/api") v1 := e.Group("v1/api")
wafController := controller.NewWafController(client, db) wafController := controller.NewWafController(client, db)
v1.GET("waf/:gateway_name", wafController.Waf) v1.GET("waf/:region_code/:namespace/:gateway_name", wafController.Waf)
v1.POST("waf", wafController.CreateWaf) v1.POST("waf", wafController.CreateWaf)
v1.PUT("mode", wafController.UpdateMode) v1.PUT("mode", wafController.UpdateMode)
v1.POST("debug/savecatagory", wafController.SaveRuleCategoryToDB) v1.POST("debug/savecatagory", wafController.SaveRuleCategoryToDB)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment