From 2f9f1ba09edb8d18027f0ca8216b0a69b85fc6ae Mon Sep 17 00:00:00 2001 From: Bosen Date: Mon, 6 Dec 2021 22:50:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E7=BD=B2=E6=96=B9=E5=BC=8F=E7=94=B1wa?= =?UTF-8?q?r=E8=BD=AC=E4=B8=BAjar=E5=8C=85=EF=BC=9B=E4=BD=BF=E7=94=A8gitee?= =?UTF-8?q?=E5=9B=BE=E5=BA=8A=E4=BD=9C=E4=B8=BA=E5=9B=BE=E7=89=87=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/jieyue/admin/controller/AdminLoginController.java | 2 +- .../jieyue/admin/controller/AdminMerchantController.java | 2 +- .../example/jieyue/user/controller/UserCheckOutController.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java b/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java index 8c7e047..582dd0f 100644 --- a/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java +++ b/src/main/java/com/example/jieyue/admin/controller/AdminLoginController.java @@ -26,7 +26,7 @@ public class AdminLoginController { */ @RequestMapping({"login",""}) public ModelAndView index(ModelAndView modelAndView){ - modelAndView.setViewName("/admin/login/index"); + modelAndView.setViewName("admin/login/index"); return modelAndView; } diff --git a/src/main/java/com/example/jieyue/admin/controller/AdminMerchantController.java b/src/main/java/com/example/jieyue/admin/controller/AdminMerchantController.java index c25a98a..b1f59c8 100644 --- a/src/main/java/com/example/jieyue/admin/controller/AdminMerchantController.java +++ b/src/main/java/com/example/jieyue/admin/controller/AdminMerchantController.java @@ -29,7 +29,7 @@ public class AdminMerchantController { */ @RequestMapping("") public ModelAndView index(ModelAndView modelAndView, HttpServletRequest request) { - modelAndView.setViewName("/admin/merchant/index"); + modelAndView.setViewName("admin/merchant/index"); int pageSize = 10; int pageCount = merchantService.getMtPage(pageSize); diff --git a/src/main/java/com/example/jieyue/user/controller/UserCheckOutController.java b/src/main/java/com/example/jieyue/user/controller/UserCheckOutController.java index 35eb0bd..81f654f 100644 --- a/src/main/java/com/example/jieyue/user/controller/UserCheckOutController.java +++ b/src/main/java/com/example/jieyue/user/controller/UserCheckOutController.java @@ -39,7 +39,7 @@ public class UserCheckOutController { BigDecimal allPrice = checkOutService.getGoodsNumPrice(goodsMap); modelAndView.addObject("allPrice",allPrice); - modelAndView.setViewName("/user/checkout/index"); + modelAndView.setViewName("user/checkout/index"); } return modelAndView; }