kongdeqiang
2023-05-11 d4e6ec0389dd8abbcce4ee4f9e5cdad1633491d5
修改项目
24个文件已修改
8 文件已重命名
160 ■■■■■ 已修改文件
src/main/java/com/wgcloud/controller/FailureLoggingController.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/wgcloud/controller/InspectionTaskController.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/wgcloud/entity/SnmpInterfaceInfo.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/wgcloud/filter/AuthRestFilter.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/wgcloud/util/SnmpUtil.java 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/app/view.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/common/aside.html 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/common/footer.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/common/footerDashView.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/common/navbar.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/customInfo/add.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/dashView/index.html 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/dashView/list.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/dashView/viewChart.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/dce/view.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/docker/view.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/failog/add.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/failog/list.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/failog/view.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/heath/add.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/host/list.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/host/viewChart.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/instask/add.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/instask/infoedit.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/instask/taskinfo.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/instask/tasklist.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/instask/view.html 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/mail/view.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/mysql/addDb.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/mysql/addTable.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/mysql/tableView.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/templates/shellInfo/add.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/wgcloud/controller/FailureLoggingController.java
@@ -69,7 +69,7 @@
            logger.error("查询设备更换列表错误", e);
            logInfoService.save("查询资产信息错误", e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "failurelogging/list";
        return "failog/list";
    }
    @RequestMapping(value = "save")
@@ -107,7 +107,7 @@
            if (StringUtils.isEmpty(id)) {
                model.addAttribute("failureLogging", failureLogging);
                return "failureLogging/add";
                return "failog/add";
            }
            failureLogging = failureLoggingService.selectById(id);
            model.addAttribute("failureLogging", failureLogging);
@@ -115,7 +115,7 @@
            logger.error(errorMsg, e);
            logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "failurelogging/add";
        return "failog/add";
    }
    /**
@@ -137,7 +137,7 @@
            logger.error(errorMsg, e);
            logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "failurelogging/view";
        return "failog/view";
    }
src/main/java/com/wgcloud/controller/InspectionTaskController.java
@@ -74,7 +74,7 @@
            logger.error("查询设备更换列表错误", e);
            logInfoService.save("查询资产信息错误", e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "inspectionTask/list";
        return "instask/tasklist";
    }
    @RequestMapping(value = "save")
@@ -137,7 +137,7 @@
        try {
            if (StringUtils.isEmpty(id)) {
                model.addAttribute("inspectionTask", inspectionTask);
                return "inspectionTask/add";
                return "instask/add";
            }
            inspectionTask = inspectionTaskService.selectById(id);
            model.addAttribute("inspectionTask", inspectionTask);
@@ -145,7 +145,7 @@
            logger.error(errorMsg, e);
            logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "inspectionTask/add";
        return "instask/add";
    }
    /**
@@ -163,7 +163,7 @@
        try {
            if (StringUtils.isEmpty(id)) {
                model.addAttribute("taskInfo", taskInfo);
                return "inspectionTask/infoedit";
                return "instask/infoedit";
            }
            taskInfo = taskInfoService.selectById(id);
            model.addAttribute("taskInfo", taskInfo);
@@ -171,7 +171,7 @@
            logger.error(errorMsg, e);
            logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "inspectionTask/infoedit";
        return "instask/infoedit";
    }
    /**
@@ -193,7 +193,7 @@
            logger.error(errorMsg, e);
            logInfoService.save(errorMsg, e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "inspectionTask/view";
        return "instask/view";
    }
@@ -244,7 +244,7 @@
            logger.error("查询任务详情错误", e);
            logInfoService.save("查询任务详情错误", e.toString(), StaticKeys.LOG_XTCZ);
        }
        return "inspectionTask/taskinfo";
        return "instask/taskinfo";
    }
    /**
src/main/java/com/wgcloud/entity/SnmpInterfaceInfo.java
@@ -37,7 +37,7 @@
    /**
     * 速率
     */
    private Integer actualSpeed;
    private Long actualSpeed;
    /**
     * 工作模式
src/main/java/com/wgcloud/filter/AuthRestFilter.java
@@ -209,8 +209,16 @@
            session.setAttribute("menuActive", "81");
            return;
        }
        if (uri.indexOf("/report") > -1) {
            session.setAttribute("menuActive", "91");
        if (uri.indexOf("/equipment") > -1) {
            session.setAttribute("menuActive", "81");
            return;
        }
        if (uri.indexOf("/inspectionTask") > -1) {
            session.setAttribute("menuActive", "c1");
            return;
        }
        if (uri.indexOf("/failurelogging") > -1) {
            session.setAttribute("menuActive", "c2");
            return;
        }
        session.setAttribute("menuActive", "11");
src/main/java/com/wgcloud/util/SnmpUtil.java
@@ -256,7 +256,12 @@
                Map<String, Object> stringObjectMap = interfaceStatusList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                   snmpInterfaceInfo.setIsUp(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    try {
                        snmpInterfaceInfo.setIsUp(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    }catch (Exception e){
                        snmpInterfaceInfo.setIsUp(0);
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -265,7 +270,12 @@
                Map<String, Object> stringObjectMap = actualSpeedList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                    snmpInterfaceInfo.setActualSpeed(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    try {
                        snmpInterfaceInfo.setActualSpeed(Long.parseLong(stringObjectEntry.getValue().toString().trim()));
                    }catch (Exception e){
                        snmpInterfaceInfo.setActualSpeed(100000L);
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -274,7 +284,12 @@
                Map<String, Object> stringObjectMap = workMTUList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                    snmpInterfaceInfo.setWorkMTU(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    try {
                        snmpInterfaceInfo.setWorkMTU(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    }catch (Exception e){
                        snmpInterfaceInfo.setWorkMTU(1500);
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -283,7 +298,12 @@
                Map<String, Object> stringObjectMap = actualMTUList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                    snmpInterfaceInfo.setActualMTU(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    try {
                        snmpInterfaceInfo.setActualMTU(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    }catch (Exception e){
                        snmpInterfaceInfo.setActualMTU(1500);
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -292,7 +312,12 @@
                Map<String, Object> stringObjectMap = loopbackList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                    snmpInterfaceInfo.setLoopback(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    try {
                        snmpInterfaceInfo.setLoopback(Integer.parseInt(stringObjectEntry.getValue().toString().trim()));
                    }catch (Exception e){
                        snmpInterfaceInfo.setLoopback(0);
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -301,7 +326,11 @@
                Map<String, Object> stringObjectMap = descriptionList.get(i);
                SnmpInterfaceInfo snmpInterfaceInfo = interfaceInfos.get(i);
                for (Map.Entry<String, Object> stringObjectEntry : stringObjectMap.entrySet()) {
                    snmpInterfaceInfo.setDescription(stringObjectEntry.getValue().toString().trim());
                    try {
                        snmpInterfaceInfo.setDescription(stringObjectEntry.getValue().toString().trim());
                    }catch (Exception e){
                        e.printStackTrace();
                    }
                }
            }
        }
@@ -488,6 +517,7 @@
                pdu.add(new VariableBinding(new OID(nextOid)));
            }
            System.out.println("list的大小 = " +list.size());
            System.out.println(list);
            return list;
        } catch (IOException e) {
src/main/resources/templates/app/view.html
@@ -71,7 +71,7 @@
            </th:block>
            <td width="10%">
              <form class="form-inline ml-3   float-sm-right" action="/wgcloud/appInfo/view">
              <form class="form-inline ml-3   float-sm-right" action="/tssw/appInfo/view">
                <input type="hidden" name="id" th:value="${appInfo.id}"/>
                <div class="input-group input-group-sm">
                  <input type="text" autocomplete="off" value="" class="validate[maxSize[50]] form-control"  th:value="${startTime}" name="startTime" id="startTime" placeholder="开始时间" style="margin-right:5px;">
src/main/resources/templates/common/aside.html
@@ -414,15 +414,15 @@
                    </a>
                </li>
                <th:block th:if="${#strings.startsWith(session.menuActive,'8')}">
                <th:block th:if="${#strings.startsWith(session.menuActive,'c')}">
                    <li class="nav-item has-treeview menu-open">
                        <a  href="javascript:void(0);" class="nav-link active">
                </th:block>
                <th:block th:unless="${#strings.startsWith(session.menuActive,'8')}">
                <th:block th:unless="${#strings.startsWith(session.menuActive,'c')}">
                    <li class="nav-item has-treeview">
                        <a  href="javascript:void(0);" class="nav-link">
                </th:block>
                <i class="nav-icon fas fa-network-wired"></i>
                <i class="nav-icon fas fa-table"></i>
                <p title="巡检管理">
                    巡检管理
                    <i class="fas fa-angle-left right"></i>
@@ -430,10 +430,10 @@
                </a>
                <ul class="nav nav-treeview">
                    <li class="nav-item">
                        <th:block th:if="${session.menuActive eq '81'}">
                        <th:block th:if="${session.menuActive eq 'c1'}">
                            <a th:href="@{'/inspectionTask/list'}" class="nav-link active">
                        </th:block>
                        <th:block th:unless="${session.menuActive eq '81'}">
                        <th:block th:unless="${session.menuActive eq 'c1'}">
                            <a th:href="@{'/inspectionTask/list'}" class="nav-link">
                        </th:block>
                        <i class="nav-icon far fa-circle text-info"></i>
@@ -441,10 +441,10 @@
                        </a>
                    </li>
                    <li class="nav-item">
                        <th:block th:if="${session.menuActive eq '82'}">
                        <th:block th:if="${session.menuActive eq 'c2'}">
                            <a th:href="@{'/failurelogging/list'}" class="nav-link active">
                        </th:block>
                        <th:block th:unless="${session.menuActive eq '82'}">
                        <th:block th:unless="${session.menuActive eq 'c2'}">
                            <a th:href="@{'/failurelogging/list'}" class="nav-link">
                        </th:block>
                        <i class="far fa-circle nav-icon"></i>
src/main/resources/templates/common/footer.html
@@ -89,7 +89,7 @@
    }
    if(confirm('你确定要删除所选数据吗?')) {
        var vals = chk_value.join(",");
        $.ajax("/wgcloud"+url,{
        $.ajax("/tssw"+url,{
            type:"post",
            data:{"id":vals},
            success:function(data){
@@ -105,7 +105,7 @@
//跳转到系统日志查询
function goHrefLogInfo(param) {
    window.location.href = "/wgcloud/log/list?hostname="+param;
    window.location.href = "/tssw/log/list?hostname="+param;
}
//启用弹出框popover
src/main/resources/templates/common/footerDashView.html
@@ -2,7 +2,7 @@
<footer class="main-footer" style="margin-left: 10px">
    <input type="hidden" id="serverInfoIdentify" th:value="${application.serverInfoId}"/>
    <th:block th:if="${application.copyRight eq 'true'}">
    <strong>Copyright &copy;2017-<span id="copyyear">now</span> <a target="_blank" href="http://www.wgstart.com">www.wgstart.com</a>.</strong>
    <strong>Copyright &copy;2017-<span id="copyyear">now</span> <a target="_blank" href="http://www.10086.cn">中国移动</a></strong>
    All Rights Reserved.
    </th:block>
    <th:block th:if="${application.copyRight eq 'false'}">&nbsp;</th:block>
@@ -69,4 +69,4 @@
toastr.options.timeOut = 15000;
//启用弹出框popover
$("[data-toggle='popover']").popover();
</script>
</script>
src/main/resources/templates/common/navbar.html
@@ -50,7 +50,7 @@
            </th:block>
        </li>
        <li class="nav-item dropdown">
            <a class="nav-link" style="cursor:pointer;" title="退出" data-toggle="dropdown" onclick="javascript:window.location.href='/wgcloud/login/loginOut';" >
            <a class="nav-link" style="cursor:pointer;" title="退出" data-toggle="dropdown" onclick="javascript:window.location.href='/tssw/login/loginOut';" >
                <i class="fa fa-window-close"></i>
            </a>
        </li>
@@ -62,4 +62,4 @@
    </ul>
</nav>
<!-- /.navbar -->
<!-- /.navbar -->
src/main/resources/templates/customInfo/add.html
@@ -69,7 +69,7 @@
                </div>
                <div class="form-group">
                    <label><font color="red">*</font>自定义监控项执行的指令或脚本<span class="text-muted" th:text="${blockStr}">敏感字符串过滤</span></label>
                    <input type="text" autocomplete="off"  th:value="${customInfo.customShell}" class="validate[required,maxSize[255]] form-control" name="customShell" id="customShell" placeholder="如:/wgcloud/fileCount.sh">
                    <input type="text" autocomplete="off"  th:value="${customInfo.customShell}" class="validate[required,maxSize[255]] form-control" name="customShell" id="customShell" placeholder="如:/tssw/fileCount.sh">
                </div>
                <div class="form-group">
                    <label >告警表达式<span class="text-muted">(表达式成立时即告警,不成立不告警,如:<code class="highlighter-rouge" style="font-size:100%">result>=100</code>,其中<code class="highlighter-rouge" style="font-size:100%">result</code>为固定写法,标识为上面的指令或脚本输出结果值(系统会自动替换为数值),注意表达式需为英文输入法拼写)</span></label>
src/main/resources/templates/dashView/index.html
@@ -31,7 +31,7 @@
                        </span>
              </li>
              <li class="breadcrumb-item active">监控概要</li>
              <li class="breadcrumb-item "><a href="/wgcloud/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
              <li class="breadcrumb-item "><a href="/tssw/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
              <!--<li class="breadcrumb-item active"><a  target="_blank" href="https://www.wgstart.com/elasticsearch-head/index.html">ES监控工具</a></li>-->
            </ol>
          </div><!-- /.col -->
@@ -68,7 +68,7 @@
                <p>监控进程</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/jincheng.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/jincheng.png"/></i>
              </div>
            </div>
          </div>
@@ -88,7 +88,7 @@
                <p>DOCKER</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/docker.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/docker.png"/></i>
              </div>
            </div>
          </div>
@@ -108,7 +108,7 @@
                <p>数据源</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/db.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/db.png"/></i>
              </div>
            </div>
          </div>
@@ -127,7 +127,7 @@
                <p>数通PING设备</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/yun.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/yun.png"/></i>
              </div>
            </div>
          </div>
@@ -145,7 +145,7 @@
                <p>日志监控</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/log.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/log.png"/></i>
              </div>
            </div>
          </div>
@@ -165,7 +165,7 @@
                <p>服务接口</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/api.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/api.png"/></i>
              </div>
            </div>
          </div>
@@ -185,7 +185,7 @@
                <p>监控主机</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/pc.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/pc.png"/></i>
              </div>
            </div>
          </div>
@@ -205,7 +205,7 @@
                <p>端口监控</p>
              </div>
              <div class="icon">
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/wgcloud/static/images/telnet.png"/></i>
                <i class="ion " style="opacity:0.6; filter: alpha(opacity=60);"><img src="/tssw/static/images/telnet.png"/></i>
              </div>
            </div>
          </div>
src/main/resources/templates/dashView/list.html
@@ -30,8 +30,8 @@
                            <i style="font-size:0.95rem;" class="far fa-bell-slash"></i>
                        </span>
                    </li>
                    <li class="breadcrumb-item "><a href="/wgcloud/dash/main?dashView=1">监控概要</a></li>
                    <li class="breadcrumb-item "><a href="/wgcloud/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
                    <li class="breadcrumb-item "><a href="/tssw/dash/main?dashView=1">监控概要</a></li>
                    <li class="breadcrumb-item "><a href="/tssw/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
                   <!-- <li class="breadcrumb-item active"><a  target="_blank" href="https://www.wgstart.com/elasticsearch-head/index.html">ES监控工具</a></li>-->
                </ol>
            </div>
src/main/resources/templates/dashView/viewChart.html
@@ -32,8 +32,8 @@
                            <i style="font-size:0.95rem;" class="far fa-bell-slash"></i>
                        </span>
                    </li>
                    <li class="breadcrumb-item "><a href="/wgcloud/dash/main?dashView=1">监控概要</a></li>
                    <li class="breadcrumb-item "><a href="/wgcloud/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
                    <li class="breadcrumb-item "><a href="/tssw/dash/main?dashView=1">监控概要</a></li>
                    <li class="breadcrumb-item "><a href="/tssw/systemInfo/systemInfoList?dashView=1">主机列表</a></li>
                   <!-- <li class="breadcrumb-item active"><a  target="_blank" href="https://www.wgstart.com/elasticsearch-head/index.html">ES监控工具</a></li>-->
                </ol>
            </div>
src/main/resources/templates/dce/view.html
@@ -74,7 +74,7 @@
            </th:block>
            <td width="10%">
              <form class="form-inline ml-3   float-sm-right" action="/wgcloud/dceInfo/view">
              <form class="form-inline ml-3   float-sm-right" action="/tssw/dceInfo/view">
                <input type="hidden" name="id" th:value="${dceInfo.id}"/>
                <div class="input-group input-group-sm">
                  <input type="text" autocomplete="off" value="" class="validate[maxSize[50]] form-control"  th:value="${startTime}" name="startTime" id="startTime" placeholder="开始时间" style="margin-right:5px;">
src/main/resources/templates/docker/view.html
@@ -74,7 +74,7 @@
            </th:block>
            <td width="10%">
              <form class="form-inline ml-3   float-sm-right" action="/wgcloud/dockerInfo/view">
              <form class="form-inline ml-3   float-sm-right" action="/tssw/dockerInfo/view">
                <input type="hidden" name="id" th:value="${dockerInfo.id}"/>
                <div class="input-group input-group-sm">
                  <input type="text" autocomplete="off" value="" class="validate[maxSize[50]] form-control"  th:value="${startTime}" name="startTime" id="startTime" placeholder="开始时间" style="margin-right:5px;">
src/main/resources/templates/failog/add.html
src/main/resources/templates/failog/list.html
src/main/resources/templates/failog/view.html
src/main/resources/templates/heath/add.html
@@ -56,7 +56,7 @@
                </div>
                <div class="form-group">
                    <label><font color="red">*</font>服务接口URL<span class="text-muted">(URL需为http或https接口)</span></label>
                    <input type="text" autocomplete="off"  th:value="${heathMonitor.heathUrl}" class="validate[required,maxSize[255]] form-control" name="heathUrl" id="heathUrl" placeholder="如http://192.168.1.1:9999/wgcloud/heath">
                    <input type="text" autocomplete="off"  th:value="${heathMonitor.heathUrl}" class="validate[required,maxSize[255]] form-control" name="heathUrl" id="heathUrl" placeholder="如http://192.168.1.1:9999/tssw/heath">
                </div>
                <div class="form-group clearfix">
                    <label><font color="red">*</font>接口请求方式</label></br>
src/main/resources/templates/host/list.html
@@ -224,8 +224,8 @@
                  <th th:if="${application.hostGroup == 'true'}">分组</th>
              </th:block>
              <th:block  th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'13') > -1 }">
              <th th:if="${application.userInfoManage == 'true' && session.LOGIN_KEY.role == 'admin'}">账号</th>
              </th:block>
<!--              <th th:if="${application.userInfoManage == 'true' && session.LOGIN_KEY.role == 'admin'}">账号</th>-->
<!--              </th:block>-->
              <th:block  th:unless="${#strings.indexOf(session.HostListHideColsInfo ,'15') > -1 }">
              <th>备注</th>
              </th:block>
src/main/resources/templates/host/viewChart.html
@@ -65,7 +65,7 @@
                    </th:block>
                    <td width="10%">
                        <form class="form-inline ml-3   float-sm-right" action="/wgcloud/systemInfo/chart">
                        <form class="form-inline ml-3   float-sm-right" action="/tssw/systemInfo/chart">
                            <input type="hidden" name="id" th:value="${systemInfo.id}"/>
                            <div class="input-group input-group-sm">
                            <input type="text" autocomplete="off" value="" class="validate[maxSize[50]] form-control"  th:value="${startTime}" name="startTime" id="startTime" placeholder="开始时间" style="margin-right:5px;">
src/main/resources/templates/instask/add.html
src/main/resources/templates/instask/infoedit.html
src/main/resources/templates/instask/taskinfo.html
src/main/resources/templates/instask/tasklist.html
src/main/resources/templates/instask/view.html
src/main/resources/templates/mail/view.html
@@ -148,13 +148,13 @@
    });
    function test() {
        $("#form1").attr("action","/wgcloud/mailset/test");
        $("#form1").attr("action","/tssw/mailset/test");
        $("#form1").submit();
    }
    function del(id) {
        if(confirm('你确定要删除吗?')){
            window.location.href = "/wgcloud/mailset/del?id="+id;
            window.location.href = "/tssw/mailset/del?id="+id;
        }
    }
src/main/resources/templates/mysql/addDb.html
@@ -151,12 +151,12 @@
        }
    });
    function onSubmit() {
        $("#form1").attr("action","/wgcloud/dbInfo/save");
        $("#form1").attr("action","/tssw/dbInfo/save");
        return true;
    }
    function test(){
        $("#form1").attr("action","/wgcloud/dbInfo/validate");
        $("#form1").attr("action","/tssw/dbInfo/validate");
        $("#form1").ajaxSubmit(function(message) {
            var msg = JSON.parse(message);
            if(msg.code!=""){
src/main/resources/templates/mysql/addTable.html
@@ -147,7 +147,7 @@
    });
    function goback() {
            window.location.href = "/wgcloud/dbTable/list";
            window.location.href = "/tssw/dbTable/list";
    }
    var msg = [[${msg}]];
    if(msg!='' && msg!=null){
src/main/resources/templates/mysql/tableView.html
@@ -71,7 +71,7 @@
            </th:block>
            <td width="10%">
              <form class="form-inline ml-3   float-sm-right" action="/wgcloud/dbTable/viewChart">
              <form class="form-inline ml-3   float-sm-right" action="/tssw/dbTable/viewChart">
                <input type="hidden" name="id" th:value="${dbTable.id}"/>
                <div class="input-group input-group-sm">
                  <input type="text" autocomplete="off" value="" class="validate[maxSize[50]] form-control"  th:value="${startTime}" name="startTime" id="startTime" placeholder="开始时间" style="margin-right:5px;">
src/main/resources/templates/shellInfo/add.html
@@ -59,7 +59,7 @@
                </div>
                <div class="form-group">
                    <label><font color="red">*</font>下发指令<span class="text-muted" th:text="${blockStr}">敏感字符串过滤</span></label>
                    <input type="text" autocomplete="off"  th:value="${shellInfo.shell}" class="validate[required,maxSize[500]] form-control" name="shell" id="shell" placeholder="如:/home/wgcloud/agent/start.sh">
                    <input type="text" autocomplete="off"  th:value="${shellInfo.shell}" class="validate[required,maxSize[500]] form-control" name="shell" id="shell" placeholder="如:/home/tssw/agent/start.sh">
                </div>
                <div class="form-group clearfix">
                    <label><font color="red">*</font>下发时间</label></br>