From 65292b701d421ff7d75c98df4562bf0f74e94c22 Mon Sep 17 00:00:00 2001 From: Administrator <2695469943@qq.com> Date: Wed, 15 Aug 2018 11:18:51 +0800 Subject: [PATCH] =?UTF-8?q?2018/8/15=20zls=20=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/MobileHomeController.java | 7 +- src/main/web/WEB-INF/views/mobile/home.jsp | 128 ++++++++--------- src/main/web/WEB-INF/views/mobile/home1.jsp | 129 ------------------ 3 files changed, 56 insertions(+), 208 deletions(-) delete mode 100644 src/main/web/WEB-INF/views/mobile/home1.jsp diff --git a/src/main/java/com/pro/mobile/controller/MobileHomeController.java b/src/main/java/com/pro/mobile/controller/MobileHomeController.java index a4ce931..f55c7df 100644 --- a/src/main/java/com/pro/mobile/controller/MobileHomeController.java +++ b/src/main/java/com/pro/mobile/controller/MobileHomeController.java @@ -2,7 +2,6 @@ package com.pro.mobile.controller; import com.pro.mobile.service.MobileHomeService; import com.pro.sys.entity.Module; -import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.ui.Model; @@ -19,15 +18,13 @@ public class MobileHomeController { @RequestMapping("home") public String toHome(){ - return "mobile/home1"; + return "mobile/home"; } - @RequiresPermissions("/sys/home") + @RequestMapping("module") @ResponseBody public List getModule(Model model){ - return mobileHomeService.getModule(); - } } diff --git a/src/main/web/WEB-INF/views/mobile/home.jsp b/src/main/web/WEB-INF/views/mobile/home.jsp index 410e4fc..909247b 100644 --- a/src/main/web/WEB-INF/views/mobile/home.jsp +++ b/src/main/web/WEB-INF/views/mobile/home.jsp @@ -1,12 +1,11 @@ <%-- Created by IntelliJ IDEA. - User: lenovo + User: Administrator Date: 2018/8/14 - Time: 14:38 + Time: 18:32 To change this template use File | Settings | File Templates. --%> -<%@ page language="java" contentType="text/html; charset=UTF-8" - pageEncoding="UTF-8"%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> @@ -16,78 +15,65 @@ 生产过程信息系统-首页 -
- - -
- +
+ - - - + - - - + + - 工作 + 菜单 - - + + + tab2 + + 我的 - -
- - - - - diff --git a/src/main/web/WEB-INF/views/mobile/home1.jsp b/src/main/web/WEB-INF/views/mobile/home1.jsp deleted file mode 100644 index 31a0f9b..0000000 --- a/src/main/web/WEB-INF/views/mobile/home1.jsp +++ /dev/null @@ -1,129 +0,0 @@ -<%-- - Created by IntelliJ IDEA. - User: Administrator - Date: 2018/8/14 - Time: 18:32 - To change this template use File | Settings | File Templates. ---%> -<%@ page contentType="text/html;charset=UTF-8" language="java" %> - - - - - - 生产过程信息系统-首页 - - - - -
- - - - - - - - - - - - - 菜单 - - - - tab2 - - - - 我的 - - - - - -
- - - - - - -- Gitee