Commit fd216758 authored by 李健华's avatar 李健华

电商加入天津自牧IP白名单

parent f812088c
......@@ -36,6 +36,8 @@ public class IpUtil {
static {
String[] ips = {"10.", "172.", "192.168.3.", "192.168.4."};
WHITE_ADDRESS.addAll(Arrays.asList(ips));
WHITE_ADDRESS.add("123.56.31.54"); // 天津自牧生产环境
WHITE_ADDRESS.add("47.93.61.134"); // 天津自牧生产环境
//系统环境
if (!TechEnvironment.isPro()) {
WHITE_ADDRESS.add("192.168.");
......@@ -43,6 +45,8 @@ public class IpUtil {
WHITE_ADDRESS.add("10.");
//劲松的测试环境
WHITE_ADDRESS.add("54.223.247.69");
WHITE_ADDRESS.add("123.56.159.197"); // 天津自牧预发布环境
WHITE_ADDRESS.add("182.92.71.41"); // 天津自牧测试环境
WHITE_ADDRESS.add(LOCAL_ADDRESS);
}
}
......
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