实现路径规则部分功能

This commit is contained in:
GoEdgeLab
2020-09-21 19:51:50 +08:00
parent f796a1d4d7
commit c126d06f70
50 changed files with 630 additions and 114 deletions

View File

@@ -27,7 +27,7 @@ func (this *UpdatePopupAction) RunGet(params struct {
}
pageConfig := &serverconfigs.HTTPPageConfig{}
err = json.Unmarshal(configResp.Config, pageConfig)
err = json.Unmarshal(configResp.PageJSON, pageConfig)
if err != nil {
this.ErrorPage(err)
return
@@ -71,7 +71,7 @@ func (this *UpdatePopupAction) RunPost(params struct {
}
pageConfig := &serverconfigs.HTTPPageConfig{}
err = json.Unmarshal(configResp.Config, pageConfig)
err = json.Unmarshal(configResp.PageJSON, pageConfig)
if err != nil {
this.ErrorPage(err)
return