前端-修改登陆用户资料

master
星期八 5 years ago
parent 8de4b4e3bb
commit 05466b1356
  1. 2
      src/main/java/com/lq/cms/web/sys/UserController.java
  2. 2
      src/main/profile/dev/jdbc.properties
  3. 2
      src/main/profile/dev/redis.properties
  4. 2
      src/main/webapp/WEB-INF/views/jsp/cms/login.jsp
  5. 11
      src/main/webapp/WEB-INF/views/jsp/cms/main/head.jsp

@ -143,7 +143,7 @@ public class UserController {
}
//内部方法 ,上传文件,并返回文件路径
private String upLoadFile(MultipartFile multipartFile){
final private String upLoadFile(MultipartFile multipartFile){
String newFileName = null;
if (multipartFile!=null && multipartFile.getSize()>0){
UUID uuid = UUID.randomUUID();

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

@ -1,4 +1,4 @@
redis.host=192.168.31.19
redis.host=localhost
redis.port=6379
redis.pass=
redis.timeout=-1

@ -52,7 +52,7 @@
<div class="center">
<h1>
<i class="icon-leaf green"></i>
<span class="red">cms</span>
<span class="red">ssm</span>
<span class="white">管理后台应用</span>
</h1>
<h4 class="blue">&copy; 星期八</h4>

@ -32,7 +32,7 @@
<div class="navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="grey">
<!-- <li class="grey">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="icon-tasks"></i>
<span class="badge badge-grey">4</span>
@ -240,7 +240,7 @@
</li>
</ul>
</li>
-->
<li class="light-blue">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
@ -257,7 +257,7 @@
<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
<li>
<a href="#">
<a href="javascript:openSetting()">
<i class="icon-cog"></i>
设置
</a>
@ -376,4 +376,9 @@
});
}
//设置
function openSetting() {
layer.alert("功能正在开发中。。。。");
}
</script>
Loading…
Cancel
Save