diff --git a/pom.xml b/pom.xml
index 612ded6a..3de9be41 100644
--- a/pom.xml
+++ b/pom.xml
@@ -17,7 +17,7 @@
com.dispose
dispose_platform
- 2.0.8
+ 2.0.8.2
dispose_platform
Dispose Platform
diff --git a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
index 764db468..f017599b 100644
--- a/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
+++ b/src/main/java/com/dispose/ability/impl/PengXinAbilityImpl.java
@@ -29,6 +29,7 @@ import lombok.extern.slf4j.Slf4j;
import javax.annotation.Nullable;
import javax.servlet.http.HttpServletResponse;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
/**
@@ -388,7 +389,9 @@ public class PengXinAbilityImpl implements DisposeAbility {
protectIpV6.clear();
if (v.getIpType() == null || v.getIpType().equals(IpAddrType.IPV4_IPV6.getValue())) {
- if (v.getDisposeIp() == null) {
+ String [] allIpAddr = {null, "0.0.0.0", "0.0.0.0,::"};
+
+ if(Arrays.asList(allIpAddr).contains(v.getDisposeIp())) {
protectIpV4.add("");
protectIpV6.add("");
}
diff --git a/src/main/java/com/dispose/restful/RestfulInterface.java b/src/main/java/com/dispose/restful/RestfulInterface.java
index ef89344e..a3372bb5 100644
--- a/src/main/java/com/dispose/restful/RestfulInterface.java
+++ b/src/main/java/com/dispose/restful/RestfulInterface.java
@@ -189,9 +189,9 @@ public class RestfulInterface {
*/
public static ProtocolRespDTO baseProRun(String url, String token, E obj, Class subClass,
RequestMethod reqType) {
- try {
- String svrResp = null;
+ String svrResp = null;
+ try {
Map httpHeadMap = new HashMap<>(2);
httpHeadMap.put(String.valueOf(Header.CONNECTION), "keep-alive");
httpHeadMap.put(String.valueOf(Header.ACCEPT), "*/*");
@@ -231,7 +231,7 @@ public class RestfulInterface {
}
});
} catch (JsonProcessingException e) {
- log.debug("System exception: ", e);
+ log.error("System exception: \nRequest:{}, {}\nException{}", url, svrResp, e);
return null;
}
}