上传序列化接口优化
This commit is contained in:
parent
7550002f7a
commit
77313da81b
@ -80,6 +80,7 @@ func (this *SComp_GateRouteComp) ReceiveMsg(ctx context.Context, args *pb.AgentM
|
|||||||
msghandle.fn.Func.Call([]reflect.Value{msghandle.rcvr, reflect.ValueOf(ctx), reflect.ValueOf(session), reflect.ValueOf(msg)})
|
msghandle.fn.Func.Call([]reflect.Value{msghandle.rcvr, reflect.ValueOf(ctx), reflect.ValueOf(session), reflect.ValueOf(msg)})
|
||||||
} else {
|
} else {
|
||||||
reply.Code = int32(core.ErrorCode_ReqParameterError)
|
reply.Code = int32(core.ErrorCode_ReqParameterError)
|
||||||
|
reply.Msg = core.GetErrorCodeMsg(core.ErrorCode_ReqParameterError)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user