From c42d37c508e6b7fefcdfa2d88acebdc34273cf0a Mon Sep 17 00:00:00 2001 From: shuzheng <469741414@qq.com> Date: Sat, 4 Feb 2017 13:55:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pay/admin/controller/BaseController.java | 15 ---------- .../pay/web/controller/BaseController.java | 15 ---------- .../admin/controller/HelloController.java | 28 ------------------- 3 files changed, 58 deletions(-) delete mode 100644 zheng-pay/zheng-pay-admin/src/main/java/com/zheng/pay/admin/controller/BaseController.java delete mode 100644 zheng-pay/zheng-pay-web/src/main/java/com/zheng/pay/web/controller/BaseController.java delete mode 100644 zheng-upms/zheng-upms-server/src/main/java/com/zheng/upms/admin/controller/HelloController.java diff --git a/zheng-pay/zheng-pay-admin/src/main/java/com/zheng/pay/admin/controller/BaseController.java b/zheng-pay/zheng-pay-admin/src/main/java/com/zheng/pay/admin/controller/BaseController.java deleted file mode 100644 index f51d0b2c..00000000 --- a/zheng-pay/zheng-pay-admin/src/main/java/com/zheng/pay/admin/controller/BaseController.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.zheng.pay.admin.controller; - -/** - * 控制器基类 - * @author shuzheng - * @date 2016年7月7日 上午10:08:47 - */ -public class BaseController { - - public static final String RESULT = "result"; - public static final String DATA = "data"; - public static final String SUCCESS = "success"; - public static final String FAILED = "failed"; - -} \ No newline at end of file diff --git a/zheng-pay/zheng-pay-web/src/main/java/com/zheng/pay/web/controller/BaseController.java b/zheng-pay/zheng-pay-web/src/main/java/com/zheng/pay/web/controller/BaseController.java deleted file mode 100644 index e0103f80..00000000 --- a/zheng-pay/zheng-pay-web/src/main/java/com/zheng/pay/web/controller/BaseController.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.zheng.pay.web.controller; - -/** - * 控制器基类 - * @author shuzheng - * @date 2016年7月7日 上午10:08:47 - */ -public class BaseController { - - public static final String RESULT = "result"; - public static final String DATA = "data"; - public static final String SUCCESS = "success"; - public static final String FAILED = "failed"; - -} \ No newline at end of file diff --git a/zheng-upms/zheng-upms-server/src/main/java/com/zheng/upms/admin/controller/HelloController.java b/zheng-upms/zheng-upms-server/src/main/java/com/zheng/upms/admin/controller/HelloController.java deleted file mode 100644 index b827045a..00000000 --- a/zheng-upms/zheng-upms-server/src/main/java/com/zheng/upms/admin/controller/HelloController.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.zheng.upms.admin.controller; - -import com.zheng.common.base.BaseController; -import org.springframework.stereotype.Controller; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.ResponseBody; - - -@Controller -@RequestMapping("/hello") -public class HelloController extends BaseController { - - @RequestMapping("/index") - @ResponseBody - public String index() { - System.out.println(1/0); - return "/hello/world"; - } - - @RequestMapping("/index2") - @ResponseBody - public String index2() { - String a = null; - System.out.println(a.toString()); - return "/hello/world"; - } - -} \ No newline at end of file