实现路径规则各项数据修改

This commit is contained in:
刘祥超
2020-09-22 11:36:51 +08:00
parent a4b806fa7e
commit 6d6fb22d78
110 changed files with 1799 additions and 182 deletions

View File

@@ -159,7 +159,7 @@ func (this *CreateAction) RunPost(params struct {
reverseProxyRefJSON := []byte{}
switch params.ServerType {
case serverconfigs.ServerTypeHTTPProxy, serverconfigs.ServerTypeTCPProxy:
origins := []*serverconfigs.OriginServerConfig{}
origins := []*serverconfigs.OriginConfig{}
err := json.Unmarshal([]byte(params.Origins), &origins)
if err != nil {
this.Fail("源站地址解析失败:" + err.Error())