优化代码

This commit is contained in:
刘祥超
2020-12-23 09:52:31 +08:00
parent eced5f9417
commit 4ea1edb888
43 changed files with 111 additions and 479 deletions

View File

@@ -81,7 +81,7 @@ func (this *IndexAction) RunPost(params struct {
_, err = this.RPC().ServerRPC().UpdateServerTCP(this.AdminContext(), &pb.UpdateServerTCPRequest{
ServerId: params.ServerId,
Config: configData,
TcpJSON: configData,
})
if err != nil {
this.ErrorPage(err)