1.0.4 commit .
diff --git a/soul-common/src/main/java/org/dromara/soul/common/enums/SerializeEnum.java b/soul-common/src/main/java/org/dromara/soul/common/enums/SerializeEnum.java
index a3cfa92..d664395 100644
--- a/soul-common/src/main/java/org/dromara/soul/common/enums/SerializeEnum.java
+++ b/soul-common/src/main/java/org/dromara/soul/common/enums/SerializeEnum.java
@@ -81,7 +81,7 @@
Arrays.stream(SerializeEnum.values())
.filter(v -> Objects.equals(v.getSerialize(), serialize))
.findFirst();
- return serializeEnum.orElse(SerializeEnum.KRYO);
+ return serializeEnum.orElse(SerializeEnum.JDK);
}
}
diff --git a/soul-configuration/src/main/java/org/dromara/soul/configuration/zookeeper/serializer/ZkSerializerFactory.java b/soul-configuration/src/main/java/org/dromara/soul/configuration/zookeeper/serializer/ZkSerializerFactory.java
index 180ad05..6bb4e40 100644
--- a/soul-configuration/src/main/java/org/dromara/soul/configuration/zookeeper/serializer/ZkSerializerFactory.java
+++ b/soul-configuration/src/main/java/org/dromara/soul/configuration/zookeeper/serializer/ZkSerializerFactory.java
@@ -49,7 +49,7 @@
case FAST_JSON:
return new FastJsonSerializer();
default:
- return new KryoSerializer();
+ return new JavaSerializer();
}
}
}
diff --git a/soul-web/src/main/java/org/dromara/soul/web/filter/BodyWebFilter.java b/soul-web/src/main/java/org/dromara/soul/web/filter/BodyWebFilter.java
index 0c59644..b025224 100644
--- a/soul-web/src/main/java/org/dromara/soul/web/filter/BodyWebFilter.java
+++ b/soul-web/src/main/java/org/dromara/soul/web/filter/BodyWebFilter.java
@@ -48,7 +48,6 @@
if (MediaType.APPLICATION_JSON.isCompatibleWith(mediaType)) {
final Map<String, Object> paramMap = GsonUtils.getInstance().toObjectMap(body);
exchange.getAttributes().put(Constants.DUBBO_PARAMS, paramMap);
-
}
return chain.filter(exchange);
});
diff --git a/soul-web/src/main/java/org/dromara/soul/web/filter/ParamWebFilter.java b/soul-web/src/main/java/org/dromara/soul/web/filter/ParamWebFilter.java
index 97bd966..414085b 100644
--- a/soul-web/src/main/java/org/dromara/soul/web/filter/ParamWebFilter.java
+++ b/soul-web/src/main/java/org/dromara/soul/web/filter/ParamWebFilter.java
@@ -69,7 +69,6 @@
return false;
}
final RpcTypeEnum rpcTypeEnum = RpcTypeEnum.acquireByName(requestDTO.getRpcType());
-
if (Objects.isNull(rpcTypeEnum)) {
return false;
}