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