WAF支持更多动作

This commit is contained in:
刘祥超
2021-07-14 22:45:52 +08:00
parent 6a5c979d2a
commit 9c231a2b8c
14 changed files with 836 additions and 145 deletions

View File

@@ -23,6 +23,7 @@ func init() {
GetPost("/test", new(TestAction)).
GetPost("/update", new(UpdateAction)).
Get("/items", new(ItemsAction)).
Get("/selectPopup", new(SelectPopupAction)).
// IP相关
GetPost("/createIPPopup", new(CreateIPPopupAction)).
@@ -34,6 +35,9 @@ func init() {
Post("/unbindHTTPFirewall", new(UnbindHTTPFirewallAction)).
Post("/httpFirewall", new(HttpFirewallAction)).
// 选项数据
Post("/levelOptions", new(LevelOptionsAction)).
EndAll()
})
}