mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-14 20:06:34 +08:00
实现基本的匹配条件管理
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package conds
|
||||
|
||||
import (
|
||||
"github.com/TeaOSLab/EdgeAdmin/internal/web/helpers"
|
||||
"github.com/iwind/TeaGo"
|
||||
)
|
||||
|
||||
func init() {
|
||||
TeaGo.BeforeStart(func(server *TeaGo.Server) {
|
||||
server.
|
||||
Helper(helpers.NewUserMustAuth()).
|
||||
Prefix("/servers/server/settings/conds").
|
||||
GetPost("/addGroupPopup", new(AddGroupPopupAction)).
|
||||
GetPost("/addCondPopup", new(AddCondPopupAction)).
|
||||
EndAll()
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user