修复BUG:

1.修复DDOS配置流量阈值(Bps)/(Pps)默认值Bug
2.修正配置导入域名字段错误提示信息
3.SNAT/DNAT复用策略配置 暂不支持 跳转日志检索
4.缓存策略配置导出忽略doLog(与界面列表一致)
5.修复音视频样例配置上传文件二次选择取消后文件框中的文件名还存在
6.修复特定服务管理新增报错
This commit is contained in:
zhangwenqing
2019-01-27 22:42:14 +08:00
parent affdaf513a
commit 11424ee91d
7 changed files with 22 additions and 9 deletions

View File

@@ -256,7 +256,7 @@ public class CachePolicyController extends BaseController{
classMap.put(entity.getMenuNameCode(), CachePolicyUserRegion.class);
classMap.put("PXY_CACHE_HTTP_URL", HttpUrlCfg.class);
classMap.put("PXY_CACHE_HTTP_COOKIE", HttpUrlCfg.class);
String cfgIndexInfoNoExport=",block_type,policy_name,group_name,userregion1,userregion2,userregion3,userregion4,userregion5,&action:block_type-";
String cfgIndexInfoNoExport=",block_type,do_log,policy_name,group_name,userregion1,userregion2,userregion3,userregion4,userregion5,&action:block_type-";
String httpUrlInfoNoExport=",block_type,do_log,action,config_describe,valid_identifier,is_audit,creator,creator"
+ ",config_time,editor,edit_time,auditor,audit_time"
+",letter,whether_area_block,classification,attribute,label"

View File

@@ -81,13 +81,13 @@ public class DdosCfgService extends BaseService{
if(StringUtil.isBlank(antiddosProtocol)) {
entity.setAntiddosProtocol("");
entity.setBpsThreadshold(0l);
entity.setBpsThreadshold(0l);
entity.setPpsThreadshold(0l);
}
if(bpsThreadshold==null) {
entity.setBpsThreadshold(0l);
}
if(ppsThreadshold==null) {
entity.setBpsThreadshold(0l);
entity.setPpsThreadshold(0l);
}
//新增
if(entity.getCfgId()==null){

View File

@@ -92,6 +92,7 @@ public class SpecificServiceCfgService extends BaseService{
group.setGroupName(specificServiceCfg.getSpecServiceName());
group.setIsIssued(0);
group.setGroupType(1);
group.setInsertTime(new Date());
if(specificServiceCfg.getCfgType()==1) {
Integer compileId = ConfigServiceUtil.getId(1, 1).get(0);
group.setCompileId(compileId);