mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2026-04-26 07:05:19 +08:00
实现重写规则管理
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
// 创建路径规则
|
||||
type CreateAction struct {
|
||||
actionutils.ParentAction
|
||||
}
|
||||
@@ -22,6 +23,7 @@ func (this *CreateAction) Init() {
|
||||
|
||||
func (this *CreateAction) RunGet(params struct {
|
||||
ServerId int64
|
||||
ParentId int64 // 父节点
|
||||
}) {
|
||||
webConfig, err := webutils.FindWebConfigWithServerId(this.Parent(), params.ServerId)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user