parent
4175187ec3
commit
09adf46ef3
|
@ -350,14 +350,14 @@ public class PengXinAbilityImpl implements DisposeAbility {
|
|||
protectIpV4.clear();
|
||||
protectIpV6.clear();
|
||||
|
||||
if (v.getIPType() == null || v.getIPType().equals(IpAddrType.IPV4_IPV6.getValue())) {
|
||||
if (v.getIpType() == null || v.getIpType().equals(IpAddrType.IPV4_IPV6.getValue())) {
|
||||
if (v.getDisposeIp() == null) {
|
||||
protectIpV4.add("");
|
||||
protectIpV6.add("");
|
||||
}
|
||||
} else if (v.getIPType().equals(IpAddrType.IPV4.getValue())) {
|
||||
} else if (v.getIpType().equals(IpAddrType.IPV4.getValue())) {
|
||||
protectIpV4.add("");
|
||||
} else if (v.getIPType().equals(IpAddrType.IPV6.getValue())) {
|
||||
} else if (v.getIpType().equals(IpAddrType.IPV6.getValue())) {
|
||||
protectIpV6.add("");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package com.pengxin.dispose.common;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
@ -28,7 +29,8 @@ public class PengXinDisposeAbilityInfo {
|
|||
/**
|
||||
* The Ip type.
|
||||
*/
|
||||
private Integer IPType;
|
||||
@JsonProperty("IPType")
|
||||
private Integer ipType;
|
||||
|
||||
/**
|
||||
* The Dispose ip.
|
||||
|
|
Loading…
Reference in New Issue