master
星期八 5 years ago
commit df92b8a541
  1. 2
      pom.xml
  2. 2
      src/main/java/com/lq/cms/web/IndexController.java
  3. 2
      src/main/profile/dev/jdbc.properties
  4. 8
      src/main/webapp/WEB-INF/views/jsp/cms/login.jsp

@ -684,4 +684,6 @@
</build>
</project>

@ -72,7 +72,7 @@ public class IndexController {
context.getServerInfo();
DbInfo dbInfo = JdbcUtils.getDBInfo();
OsInfo osInfo = OsUtil.getInfo();
String serverIp = NetUtil.getIP();
String serverIp = NetUtil.getLocalIpAddr();
JvmInfo jvmInfo = JvmUtil.getInfo();
vo.setDbInfo(dbInfo);
vo.setUserIP(userIp);

@ -1,6 +1,6 @@
#--------- jdbc 配置---------
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://192.168.31.110:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
jdbc.url=jdbc:mysql://192.168.31.19:3306/ssm?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8
jdbc.user=root
jdbc.password=mysql
#--------数据库连接池配置 -------

@ -71,7 +71,7 @@
<div class="space-6"></div>
<form>
<form id="login_form">
<fieldset>
<label class="block clearfix">
<span class="block input-icon input-icon-right">
@ -315,6 +315,12 @@
}
});
var loginForm = new Vue({
el: 'login_form',
data: {
}
});
var mediator = new Object();
function show_box(id) {

Loading…
Cancel
Save