mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-14 12:20:27 +08:00
18 lines
390 B
Go
18 lines
390 B
Go
|
|
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()
|
||
|
|
})
|
||
|
|
}
|