修复RPC同时兼容json与pb的一些bug

This commit is contained in:
boyce
2020-10-27 17:00:15 +08:00
parent 11cb070da2
commit 1d2c1bb7ad
5 changed files with 13 additions and 5 deletions

View File

@@ -87,6 +87,11 @@ func (slf *JsonProcessor) IsParse(param interface{}) bool {
}
func (slf *JsonProcessor) GetProcessorType() RpcProcessorType{
return RPC_PROCESSOR_JSON
}
func (slf *JsonRpcRequestData) IsNoReply() bool{
return slf.NoReply
}
@@ -132,5 +137,3 @@ func (slf *JsonRpcResponseData) GetReply() []byte{