修复user_region domain_id,domain_str拼写错误
This commit is contained in:
@@ -228,13 +228,13 @@ public class DomainService extends CrudService<DomainDao,HttpUrlCfg> {
|
||||
areaIpRegionList=areaMap.get("dstList");
|
||||
maatCfg.setAreaEffectiveIds(StringUtils.isBlank(cfg.getAreaEffectiveIds())?"0":cfg.getAreaEffectiveIds());
|
||||
if(cfg.getServiceId().intValue()==Constants.SERVICE_PXY_DOMAIN_INTERCEPT){
|
||||
String region=Constants.USERREGION_DOMIAN_ID+"="+cfg.getCompileId().intValue()+
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMIAN_STR+"="+this.keywordsEscape(cfg.getCfgKeywords());
|
||||
String region=Constants.USERREGION_DOMAIN_ID+"="+cfg.getCompileId().intValue()+
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMAIN_STR+"="+this.keywordsEscape(cfg.getCfgKeywords());
|
||||
maatCfg.setUserRegion(region);
|
||||
}else if(Constants.SERVICE_DOMAIN_RATELIMIT==cfg.getServiceId().intValue()){
|
||||
String region=Constants.USERREGION_RATE_LIMIT+"="+cfg.getRatelimit()+
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMIAN_ID+"="+cfg.getCompileId().intValue()+
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMIAN_STR+"="+this.keywordsEscape(cfg.getCfgKeywords());
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMAIN_ID+"="+cfg.getCompileId().intValue()+
|
||||
Constants.USER_REGION_SPLIT+Constants.USERREGION_DOMAIN_STR+"="+this.keywordsEscape(cfg.getCfgKeywords());
|
||||
maatCfg.setUserRegion(region);
|
||||
}
|
||||
maatCfg.setAction(cfg.getAction());
|
||||
|
||||
Reference in New Issue
Block a user