zh.sqy преди 9 години
родител
ревизия
6dc8b6d448
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      hsweb-web-core/src/main/java/org/hsweb/web/message/ResponseMessage.java

+ 2 - 2
hsweb-web-core/src/main/java/org/hsweb/web/message/ResponseMessage.java

@@ -108,12 +108,12 @@ public class ResponseMessage implements Serializable {
     /**
      * 过滤字段:指定需要序列化的字段
      */
-    private Map<Class<?>, Set<String>> includes;
+    private transient Map<Class<?>, Set<String>> includes;
 
     /**
      * 过滤字段:指定不需要序列化的字段
      */
-    private Map<Class<?>, Set<String>> excludes;
+    private transient Map<Class<?>, Set<String>> excludes;
 
     private transient boolean onlyData;