实现重写规则管理

This commit is contained in:
GoEdgeLab
2020-09-28 16:25:26 +08:00
parent 1353ad9e6d
commit f459632dd6
37 changed files with 935 additions and 66 deletions

View File

@@ -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 {