diff --git a/monitor-ui-ctrl/src/main/java/com/ui/ctrl/LimitSwitchCtrl.java b/monitor-ui-ctrl/src/main/java/com/ui/ctrl/LimitSwitchCtrl.java index f5068ab..a8918cc 100644 --- a/monitor-ui-ctrl/src/main/java/com/ui/ctrl/LimitSwitchCtrl.java +++ b/monitor-ui-ctrl/src/main/java/com/ui/ctrl/LimitSwitchCtrl.java @@ -12,9 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.servlet.ModelAndView; -import java.util.ArrayList; import java.util.HashMap; -import java.util.List; import java.util.Map; /** diff --git a/monitor-ui-web/src/main/resources/config.properties b/monitor-ui-web/src/main/resources/config.properties index f7cef73..e5f77fc 100644 --- a/monitor-ui-web/src/main/resources/config.properties +++ b/monitor-ui-web/src/main/resources/config.properties @@ -1 +1 @@ -monitor.service.url=http://127.0.0.1:8880/monitor \ No newline at end of file +monitor.service.url=http://192.168.102.205:8880/monitor \ No newline at end of file diff --git a/monitor-ui-web/src/main/webapp/jsp/switch/lbSwitch.jsp b/monitor-ui-web/src/main/webapp/jsp/switch/lbSwitch.jsp index 960e06f..04d05e2 100644 --- a/monitor-ui-web/src/main/webapp/jsp/switch/lbSwitch.jsp +++ b/monitor-ui-web/src/main/webapp/jsp/switch/lbSwitch.jsp @@ -78,7 +78,7 @@ <div class="tab-content"> <div id="home"> - <div style="padding:50px 200px"><pre>${conf}</pre></div> + <div style="padding:50px 200px">${conf}</div> <h3 class="header smaller red"></h3> <div class="btn-group" style="padding:5px 20px"> @@ -173,7 +173,7 @@ } function switchSuccess() { - window.location.href = contextPath + "/luaswitch/toLuaSwitch"; + window.location.href = contextPath + "/lbSwitch/toLbSwitch"; } function sendAjax(type, url, data, dataType, success, error) {