From 8aef28e39575b910aa08c0c102c868d60fb306ea Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期六, 11 七月 2020 16:10:42 +0800 Subject: [PATCH] Merge branch 'dev' of https://gitee.com/luxiaotao1123/zy-asrs --- src/main/java/com/zy/common/web/RouterController.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/common/web/RouterController.java b/src/main/java/com/zy/common/web/RouterController.java index 4112db7..fb79559 100644 --- a/src/main/java/com/zy/common/web/RouterController.java +++ b/src/main/java/com/zy/common/web/RouterController.java @@ -36,4 +36,24 @@ } } + @RequestMapping("/pda") + public void pda(HttpServletResponse response) { + try{ + String redirect = Cools.isEmpty(applicationName)?"/views/pda/login.html":"/"+applicationName+"/views/pda/login.html"; + response.sendRedirect(redirect); + } catch (Exception ex){ + ex.printStackTrace(); + } + } + + @RequestMapping("/pda/ce") + public void pdaCe(HttpServletResponse response) { + try{ + String redirect = Cools.isEmpty(applicationName)?"/views/pdaCe/login.html":"/"+applicationName+"/views/pdaCe/login.html"; + response.sendRedirect(redirect); + } catch (Exception ex){ + ex.printStackTrace(); + } + } + } -- Gitblit v1.9.1