优化代码

This commit is contained in:
GoEdgeLab
2023-07-12 17:10:33 +08:00
parent af0ef142e2
commit 3b7c6e1b22

View File

@@ -111,6 +111,8 @@ func (this *HTTPWebService) UpdateHTTPWeb(ctx context.Context, req *pb.UpdateHTT
if err != nil {
return nil, err
}
req.RootJSON = []byte("{}") // 为了安全
}
var tx = this.NullTx()