Commit 5597863f authored by 李健华's avatar 李健华

测试环境IP白名单去掉限制

parent d72ffde8
......@@ -58,6 +58,9 @@ public class IpUtil {
* @return
*/
public static final boolean whiteOf(String ipv4) {
if (!TechEnvironment.isPro()) {
return true;
}
if (ValidationUtil.validateIpv4(ipv4)) {
for (String ipField : WHITE_ADDRESS) {
if (ipv4.startsWith(ipField)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment