部署方式由war转为jar包;使用gitee图床作为图片服务

master
Bosen 2021-12-06 22:50:50 +08:00
parent b73713beee
commit 2f9f1ba09e
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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);

View File

@ -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;
}