tx-lcn
tx-lcn copied to clipboard
在做ACTION_HEART_CHECK的时候,传过来的msg cannot be cast to java.lang.Long
master分支(未修改源码)
msg生成code MessageDto messageDto = new MessageDto(); messageDto.setAction(MessageConstants.ACTION_HEART_CHECK); heartCmd = new NettyRpcCmd(); heartCmd.setMsg(messageDto); heartCmd.setKey(RandomUtils.simpleKey());
yi xia以下是debug过来的数据

然后就报错

如果是用的json传输,那么应该json解析时会自动解析成integer类型,从而get的时候通过MapUtil进行get,这个应该时bug吧?