app block增加DKC=8自定义域(userRegion4)

This commit is contained in:
duandongmei
2019-01-10 15:47:52 +06:00
parent 1cc208d5ff
commit f9a39c7801
4 changed files with 20 additions and 13 deletions

View File

@@ -1021,8 +1021,8 @@ public class AppCfgService extends BaseService {
userRegion+=Constants.USER_REGION_SPLIT +Constants.INTERCEPT_IP_RATELIMIT_BANDWITH_USER_REGION_KEY+"="+entity.getUserRegion3();
}
}
//VIGNORE=1
if(StringUtil.isEmpty(entity.getUserRegion4())){
//DKC=8
if(!StringUtil.isEmpty(entity.getUserRegion4())){
userRegion+=Constants.USER_REGION_SPLIT +Constants.APP_VIGNORE_USER_REGION_KEY+"=1";
}
userRegion+=Constants.USER_REGION_SPLIT+"config_id="+entity.getCompileId();