部署方式由war转为jar包;使用gitee图床作为图片服务
parent
b73713beee
commit
2f9f1ba09e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue