mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-14 15:54:42 +08:00
修复RPC同时兼容json与pb的一些bug
This commit is contained in:
@@ -134,6 +134,11 @@ func (slf *PBProcessor) IsParse(param interface{}) bool {
|
||||
}
|
||||
|
||||
|
||||
func (slf *PBProcessor) GetProcessorType() RpcProcessorType{
|
||||
return RPC_PROCESSOR_PB
|
||||
}
|
||||
|
||||
|
||||
func (slf *PBRpcRequestData) IsNoReply() bool{
|
||||
return slf.GetNoReply()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user