From 052c6039feefa79d401623610087f88a3ad628e9 Mon Sep 17 00:00:00 2001 From: zxm <154040976@qq.com> Date: Thu, 4 Jan 2018 11:08:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9D=83=E9=99=90=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8Dboot=20ajax=20=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E8=A7=A3=E6=9E=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- len-core/len-core.iml | 4 +- len-sys/len-sys.iml | 4 +- .../com/len/controller/LoginController.java | 2 +- len-sys/src/main/resources/ftl/main.ftl | 260 ------------------ .../main/resources/ftl/system/log/logList.ftl | 9 +- .../resources/ftl/system/menu/add-menu.ftl | 5 - .../resources/ftl/system/menu/menuList.ftl | 4 +- .../resources/ftl/system/role/add-role.ftl | 4 - .../resources/ftl/system/role/roleList.ftl | 29 +- .../resources/ftl/system/role/update-role.ftl | 5 - .../resources/ftl/system/user/add-user.ftl | 5 - .../resources/ftl/system/user/re-pass.ftl | 5 - .../resources/ftl/system/user/update-user.ftl | 5 - .../resources/ftl/system/user/userList.ftl | 33 +-- len-sys/src/main/resources/ftl/test.ftl | 44 --- len-web/len-web.iml | 4 +- .../main/java/com/len/config/DruidConfig.java | 6 + .../java/com/len/config/FreeMarkerConfig.java | 12 + .../main/java/com/len/config/ShiroConfig.java | 32 +-- .../java/com/len/config/WebMvcConfig.java | 5 + pom.xml | 4 + 21 files changed, 76 insertions(+), 405 deletions(-) delete mode 100644 len-sys/src/main/resources/ftl/main.ftl delete mode 100644 len-sys/src/main/resources/ftl/test.ftl diff --git a/len-core/len-core.iml b/len-core/len-core.iml index 678d4c6..e397055 100644 --- a/len-core/len-core.iml +++ b/len-core/len-core.iml @@ -33,7 +33,6 @@ - @@ -66,7 +65,6 @@ - @@ -147,5 +145,7 @@ + + \ No newline at end of file diff --git a/len-sys/len-sys.iml b/len-sys/len-sys.iml index 95e995d..db3e009 100644 --- a/len-sys/len-sys.iml +++ b/len-sys/len-sys.iml @@ -35,7 +35,6 @@ - @@ -68,7 +67,6 @@ - @@ -149,5 +147,7 @@ + + \ No newline at end of file diff --git a/len-sys/src/main/java/com/len/controller/LoginController.java b/len-sys/src/main/java/com/len/controller/LoginController.java index e6e131b..f0eaad1 100644 --- a/len-sys/src/main/java/com/len/controller/LoginController.java +++ b/len-sys/src/main/java/com/len/controller/LoginController.java @@ -92,7 +92,7 @@ public class LoginController { String msg=null; try{ subject.login(token); - subject.hasRole("admin"); + //subject.hasRole("admin"); if(subject.isAuthenticated()){ return "/main/main"; } diff --git a/len-sys/src/main/resources/ftl/main.ftl b/len-sys/src/main/resources/ftl/main.ftl deleted file mode 100644 index f2824f2..0000000 --- a/len-sys/src/main/resources/ftl/main.ftl +++ /dev/null @@ -1,260 +0,0 @@ -<#-- - Created by IntelliJ IDEA. - User: zxm - Date: 2017/12/11 - Time: 21:35 - To change this template use File | Settings | File Templates.--> - -<#--<#assign c=JspTaglibs["/WEB-INF/taglib/c.tld"] />--> - - - - - zxm-脚手架 - - - - - - <#----> - - - - - - - - - - - - - - - - - - -
-
-
    -
  • sql监控
  • -
-
-
- -
-
-
-
-
- - - - - - diff --git a/len-sys/src/main/resources/ftl/system/log/logList.ftl b/len-sys/src/main/resources/ftl/system/log/logList.ftl index 4c5e9d8..140860e 100644 --- a/len-sys/src/main/resources/ftl/system/log/logList.ftl +++ b/len-sys/src/main/resources/ftl/system/log/logList.ftl @@ -17,11 +17,6 @@ - -