摘要: 在项目中经常会有多个子类继承一个抽象类或者是实现一个接口,当我们需要对接收到的消息进行反序列化时,就会出现问题,代码如下: @Getter @Setter public abstract class MessageContent { private String contentType; /** * 阅读全文
posted @ 2020-07-05 23:19 深夜孤雁 阅读(2902) 评论(0) 推荐(0) 编辑