From 8c1ccd82ab12868ac30ec3584921b2af59fdee30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=9D=B0?= Date: Thu, 27 Sep 2018 16:27:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.MD | 20 +++++-------------- .../app/rest/common/CommonController.java | 2 ++ .../app/rest/ueditor/UeditorController.java | 1 - src/main/resources/static/js/index.js | 1 + .../templates/system/menu/update.html | 7 +++++-- 5 files changed, 13 insertions(+), 18 deletions(-) diff --git a/README.MD b/README.MD index 9cc1cdf..5fb0959 100644 --- a/README.MD +++ b/README.MD @@ -7,6 +7,8 @@ Aurora是一个简单高效的后台管理系统。项目基础框架采用全新的Java Web开发框架 —— Spring Boot2.0.4,消除了繁杂的XML配置,使得二次开发更为简单;数据访问层采用Spring boot Jpa,可快速高效对数据进行操作,消除了大量传统XML配置SQL的代码,分页使用Pageable;安全框架采用时下流行的Apache Shiro,可实现对按钮级别的权限控制;前端页面使用KidAdmin构建,并提供多套配色以供选择。 ### 预览地址 [http://xiswl.xyz](http://xiswl.xyz) +### SSM + shiro + redis 版移步 +[https://gitee.com/quella01/Quella](https://gitee.com/quella01/Quella) ### 功能模块 系统功能模块组成如下所示: @@ -91,14 +93,10 @@ Aurora是一个简单高效的后台管理系统。项目基础框架采用全 - 版本管理:git -### 系统预览 +### 系统部分功能预览 - 前端模板使用kitadmin,前端框架使用layui -- 登录页面 - -![](https://i.imgur.com/drNepaT.png) - - 系统首页 ![](https://i.imgur.com/LaU377e.png) @@ -107,10 +105,6 @@ Aurora是一个简单高效的后台管理系统。项目基础框架采用全 ![](https://i.imgur.com/ouBHhXm.jpg) -- 角色管理 - -![](https://i.imgur.com/WG7IxhL.png) - - 菜单管理,使用树形表格 ![](https://i.imgur.com/GJw1PB9.png) @@ -119,10 +113,6 @@ Aurora是一个简单高效的后台管理系统。项目基础框架采用全 ![](https://i.imgur.com/rZbABhe.png) -- 搜索统一使用侧边栏 - -![](https://i.imgur.com/G3MmlGy.png) - - swagger文档 ![](https://i.imgur.com/7uzRRq9.png) @@ -184,7 +174,7 @@ c:\Redis-x64-3.2.100>redis-cli.exe -p 6379 ``` 准备工作做完后,直接使用Spring Boot的入口类`me.aurora.AuroraRun`启动即可,访问地址[localhost],账号zhengjie@tom.com,密码dqjdda1996. -部署时,首先使用使用mvn package将项目打包成jar,然后使用命令`java -jar aurora-0.0.1-SNAPSHOT.war`启动即可,当然也可以使用tomcat启动。 +部署时,首先使用使用mvn package将项目打包成jar或war,然后使用命令`java -jar aurora-0.0.1-SNAPSHOT.war`启动即可,当然也可以使用tomcat启动。 ### docker 中部署 - 可参考链接[https://www.zhengjie.me/blog/271.html](https://www.zhengjie.me/blog/271.html)。 @@ -195,4 +185,4 @@ c:\Redis-x64-3.2.100>redis-cli.exe -p 6379 - 作者邮箱:zhengjie@tom.com -- 作者主页:https://www.zhengjie.me +- 作者主页:https://www.zhengjie.me \ No newline at end of file diff --git a/src/main/java/me/aurora/app/rest/common/CommonController.java b/src/main/java/me/aurora/app/rest/common/CommonController.java index 3e51964..1a0e697 100644 --- a/src/main/java/me/aurora/app/rest/common/CommonController.java +++ b/src/main/java/me/aurora/app/rest/common/CommonController.java @@ -18,4 +18,6 @@ public class CommonController { public ModelAndView swagger(){ return new ModelAndView("/system/api/index"); } + + } diff --git a/src/main/java/me/aurora/app/rest/ueditor/UeditorController.java b/src/main/java/me/aurora/app/rest/ueditor/UeditorController.java index 77ccdb1..9c0c111 100644 --- a/src/main/java/me/aurora/app/rest/ueditor/UeditorController.java +++ b/src/main/java/me/aurora/app/rest/ueditor/UeditorController.java @@ -19,7 +19,6 @@ import java.io.PrintWriter; @RequestMapping("ueditor") public class UeditorController { - @Log("访问富文本编辑器") @GetMapping(value = "/index") private ModelAndView index(){ return new ModelAndView("/ueditor/index"); diff --git a/src/main/resources/static/js/index.js b/src/main/resources/static/js/index.js index e648ed9..cc738fe 100644 --- a/src/main/resources/static/js/index.js +++ b/src/main/resources/static/js/index.js @@ -118,6 +118,7 @@ layui.define(mods, function(exports) { return that; } + //渲染菜单 var routes = []; $.ajax({ async:false, diff --git a/src/main/resources/templates/system/menu/update.html b/src/main/resources/templates/system/menu/update.html index b38c4aa..5501dc0 100644 --- a/src/main/resources/templates/system/menu/update.html +++ b/src/main/resources/templates/system/menu/update.html @@ -97,14 +97,17 @@ * @param iconName 图标名称,自动识别fontClass/unicode */ iconPicker.checkIcon('iconPicker', $("#iconPicker").val()); - }); $(document).ready(function(){ var pid = '[[${menu.pid}]]'; if(pid == 0){ + $("#out_link").hide(); $("#action").hide(); - }else $("#action").show(); + }else{ + $("#action").show(); + $("#action").show(); + } }); //Demo