Commit 9bc60f6b by fengshuonan

首页改为控制台页面

parent 528db9bb
...@@ -74,13 +74,35 @@ public class SystemController extends BaseController { ...@@ -74,13 +74,35 @@ public class SystemController extends BaseController {
private GunsProperties gunsProperties; private GunsProperties gunsProperties;
/** /**
* 控制台页面
*
* @author fengshuonan
* @Date 2018/12/24 22:43
*/
@RequestMapping("/console")
public String console() {
return "/modular/frame/console.html";
}
/**
* 分析页面
*
* @author fengshuonan
* @Date 2018/12/24 22:43
*/
@RequestMapping("/console2")
public String console2() {
return "/modular/frame/console2.html";
}
/**
* 主页面 * 主页面
* *
* @author fengshuonan * @author fengshuonan
* @Date 2019/1/24 3:38 PM * @Date 2019/1/24 3:38 PM
*/ */
@RequestMapping("/welcome") @RequestMapping("/welcome")
public String console() { public String welcome() {
return "/modular/frame/welcome.html"; return "/modular/frame/welcome.html";
} }
...@@ -272,7 +294,7 @@ public class SystemController extends BaseController { ...@@ -272,7 +294,7 @@ public class SystemController extends BaseController {
HashMap<String, Object> map = new HashMap<>(); HashMap<String, Object> map = new HashMap<>();
map.put("fileId", IdWorker.getIdStr()); map.put("fileId", IdWorker.getIdStr());
return ResponseData.success(0,"上传成功",map); return ResponseData.success(0, "上传成功", map);
} }
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
// 默认加载主页 // 默认加载主页
index.loadHome({ index.loadHome({
menuPath: '${ctxPath}/system/welcome', menuPath: '${ctxPath}/system/console',
menuName: '<i class="layui-icon layui-icon-home"></i>' menuName: '<i class="layui-icon layui-icon-home"></i>'
}); });
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="layui-body-header"> <div class="layui-body-header">
<span class="layui-body-header-title">个人中心</span> <span class="layui-body-header-title">个人中心</span>
<span class="layui-breadcrumb pull-right"> <span class="layui-breadcrumb pull-right">
<a href="${ctxPath}/system/welcome">首页</a> <a href="${ctxPath}/system/console">首页</a>
<a><cite>个人中心</cite></a> <a><cite>个人中心</cite></a>
</span> </span>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment