diff --git a/src/main/java/com/nis/domain/maat/MaatCfg.java b/src/main/java/com/nis/domain/maat/MaatCfg.java index 752d95396..011bd4dca 100644 --- a/src/main/java/com/nis/domain/maat/MaatCfg.java +++ b/src/main/java/com/nis/domain/maat/MaatCfg.java @@ -655,6 +655,6 @@ public class MaatCfg implements Serializable { this.endTime=DateUtils.addYears(this.startTime, 2099-Integer.parseInt(DateUtils.getYear())); this.fatherCfgId=0; //初始化用户定义域占位符,对用户定义域有特殊格式的业务,根据分隔符拆分占位符,在相应位置填写相应参数值 -// this.userRegion = Constants.USER_REGION_PLACEHOLDER; + this.userRegion = Constants.USER_REGION_PLACEHOLDER; } } diff --git a/src/main/resources/nis.properties b/src/main/resources/nis.properties index 0415510e2..fee4ee6b0 100644 --- a/src/main/resources/nis.properties +++ b/src/main/resources/nis.properties @@ -330,7 +330,7 @@ userregion_replace_req_key_value=http_req_body userregion_replace_res_key_value=http_res_body userregion_replace_regex_key=regex #用户自定义域占位符 -user_region_placeholder= +user_region_placeholder=0 #用户自定义域分隔符 user_region_split=; #IP相关验证正则