优化代码/支持IP名单的更多格式的导入、导出

This commit is contained in:
刘祥超
2021-08-07 18:26:50 +08:00
parent d97f4da7fa
commit c3e68915a3
11 changed files with 272 additions and 21 deletions

View File

@@ -121,6 +121,10 @@ func (this *SettingAction) RunPost(params struct {
MaxConns: types.Int32(reverseProxyConfig.MaxConns),
MaxIdleConns: types.Int32(reverseProxyConfig.MaxIdleConns),
})
if err != nil {
this.ErrorPage(err)
return
}
this.Success()
}