优化变量名称

This commit is contained in:
duanhf2012
2020-04-01 18:15:50 +08:00
parent c714196498
commit 004512234f
2 changed files with 7 additions and 8 deletions

View File

@@ -84,8 +84,8 @@ func (agent *RpcAgent) WriteRespone(serviceMethod string,seq uint64,reply interf
rpcRespone.Err = err
var errM error
if reply!=nil {
rpcRespone.Returns,errM = processor.Marshal(reply)
if errM!= nil {
rpcRespone.Reply,errM = processor.Marshal(reply)
if errM != nil {
rpcRespone.Err = ConvertError(errM)
}
}