From 94565252ef3b89668e058bb687f15d1741a8d595 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Wed, 29 Aug 2018 15:32:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=9A=84=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=AE=BD=E5=BA=A6=E5=88=A4=E6=96=AD=E8=B0=83=E6=95=B4=20?= =?UTF-8?q?=E7=89=B9=E5=AE=9A=E6=9C=8D=E5=8A=A1=E4=B8=AD=E7=9A=84=E5=9F=BA?= =?UTF-8?q?=E7=A1=80=E5=8D=8F=E8=AE=AE=E5=92=8Capp=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E7=9A=84=E5=88=86=E7=B1=BB=E4=BD=BF=E7=94=A8=E5=90=8C=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E5=88=86=E7=B1=BB=20=E5=A2=9E=E5=8A=A0=E7=89=B9?= =?UTF-8?q?=E5=AE=9A=E6=9C=8D=E5=8A=A1=E5=92=8C=E7=99=BD=E5=90=8D=E5=8D=95?= =?UTF-8?q?subscribe=E5=9B=BD=E9=99=85=E5=8C=96=20=E6=A0=B7=E4=BE=8B?= =?UTF-8?q?=E5=92=8Chttps=E5=A2=9E=E5=8A=A0compileId=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../specific/SpecificServiceCfgController.java | 2 +- src/main/resources/messages/message_en.properties | 6 +++++- .../resources/messages/message_zh_CN.properties | 8 ++++++-- .../webapp/WEB-INF/views/cfg/av/fileSampleList.jsp | 9 +++++++-- .../WEB-INF/views/cfg/intercept/interceptForm.jsp | 14 +++++++------- .../WEB-INF/views/cfg/intercept/interceptList.jsp | 6 +++--- .../views/cfg/proxy/control/httpRedirectList.jsp | 5 +++++ .../WEB-INF/views/cfg/whitelist/domianSubList.jsp | 6 +++--- .../views/log/manipulation/dkBehaviorList.jsp | 2 +- .../views/specific/specificServiceCfgForm.jsp | 2 +- .../views/specific/specificServiceCfgList.jsp | 2 +- src/main/webapp/static/pages/scripts/pageLogs.js | 2 +- 12 files changed, 41 insertions(+), 23 deletions(-) diff --git a/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java b/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java index 4335b9050..00772e7b8 100644 --- a/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java +++ b/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java @@ -215,7 +215,7 @@ public class SpecificServiceCfgController extends BaseController { if(cfgType==1) { businessTypeList=DictUtils.getDictList("APP_BUSINESS_TYPE"); }else if(cfgType==3) { - businessTypeList=DictUtils.getDictList("BASIC_PROTOCOL_BUSINESS_TYPE"); + businessTypeList=DictUtils.getDictList("APP_BUSINESS_TYPE"); } List> businessList = Lists.newArrayList(); for(SysDataDictionaryItem dict:businessTypeList) { diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 7ad6fdead..a38f92b0c 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1071,6 +1071,7 @@ website=Website p2p_ip_config_type=IP Config Type p2p_hash_type=Hash Type NTC_SUBSCRIBE_ID=Certification Mark Configuration +WHITE_LIST_SUBSCRIBE_ID=Certification Mark Configuration app_header_config=APP Header Feature app_ssl_config=APP SSL Cert Feature @@ -1125,4 +1126,7 @@ header=Header layer=Layer can_not_delete_issued_asn_group=Can not delete issued ASN group bandwith=Bandwith -limit_rate_type=Limit Rate Type \ No newline at end of file +limit_rate_type=Limit Rate Type +business_type=Business Type +topic=Topic +website_server=Website Server \ No newline at end of file diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 631ddda14..1a7d7d283 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -807,7 +807,7 @@ av_voip_account=VoIP\u8D26\u53F7\u914D\u7F6E av_cont_ip=\u5185\u5BB9IP\u914D\u7F6E NTC_SSL_SNI=SNI\u5173\u952E\u5B57\u914D\u7F6E NTC_SSL_SAN=SAN\u5173\u952E\u5B57\u914D\u7F6E -NTC_SSL_CA=CN\u5173\u952E\u5B57\u914D\u7F6E +NTC_SSL_CN=CN\u5173\u952E\u5B57\u914D\u7F6E av_pic_ip=\u56FE\u7247IP\u914D\u7F6E av_cont_url=\u5185\u5BB9URL\u914D\u7F6E av_pic_url=\u56FE\u7247URL\u914D\u7F6E @@ -1069,6 +1069,7 @@ website=\u7F51\u7AD9\u57DF\u540D p2p_ip_config_type=IP\u914D\u7F6E\u7C7B\u578B p2p_hash_type=HASH\u7C7B\u578B NTC_SUBSCRIBE_ID=\u8BA4\u8BC1\u6807\u8BC6\u914D\u7F6E +WHITE_LIST_SUBSCRIBE_ID=\u8BA4\u8BC1\u6807\u8BC6\u914D\u7F6E app_header_config=APP\u5C42\u5934\u7279\u5F81 app_ssl_config=APP SSL\u8BC1\u4E66\u7279\u5F81 @@ -1122,4 +1123,7 @@ header=\u5173\u952E\u5B57 layer=\u5339\u914D\u533A\u57DF can_not_delete_issued_asn_group=\u4E0D\u80FD\u5220\u9664\u5DF2\u7ECF\u4E0B\u53D1\u8FC7\u7684ASN\u5206\u7EC4 bandwith=\u5E26\u5BBD -limit_rate_type=\u9650\u901F\u65B9\u5F0F \ No newline at end of file +limit_rate_type=\u9650\u901F\u65B9\u5F0F +business_type=\u4E1A\u52A1\u5206\u7C7B +topic=\u4E3B\u9898 +website_server=\u7F51\u7AD9 \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleList.jsp b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleList.jsp index 23bdce097..769c339b2 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleList.jsp @@ -8,6 +8,8 @@ //搜索框提示语初始化 if("${cfg.cfgDesc}"){ $("#intype").val("${cfg.cfgDesc}"); + }else if("${cfg.compileId}"){ + $("#intype").val("${cfg.compileId}"); }else{ $("#intype").attr("placeholder"," "+$("#seltype").find("option:selected").text()); } @@ -96,6 +98,7 @@ + @@ -266,10 +269,11 @@ + + <%-- --%> - @@ -291,6 +295,8 @@ + ${indexCfg.compileId } + ${cfg.cfgDesc } @@ -303,7 +309,6 @@ ${fn:substring(cfg.sampleUrl,0,20) } - ${cfg.cfgDesc } diff --git a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp index bcfdbec73..b96e4d1cd 100644 --- a/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp @@ -267,20 +267,20 @@ <%-- action 为64 限速时 可以选择证书--%> <%--action 为80 替换时 可以选择替换动作--%> diff --git a/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp b/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp index 45b140820..0be7f8d43 100644 --- a/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp +++ b/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp @@ -176,7 +176,7 @@ $(document).ready(function(){ - + diff --git a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp index 023e65a5b..2b6b4db90 100644 --- a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp @@ -254,7 +254,7 @@ - +