mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-02 22:10:26 +08:00
优化代码
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user