@RequestMapping("/discountList.do")
	public ModelAndView discountList(Device device, HttpServletRequest req) throws Exception {
		int rows = 16;
		int pageBlock = 10;
		String path = "discountList.do";
		String pageCode;
		String cPage = req.getParameter("cPage");
		ModelAndView mav = new ModelAndView();

		if (cPage == null)
			cPage = "1";

		// 할인 되는 공연 List를 가져오는 메소드
		List<DiscountVO> discountList = showService.discountList(rows, cPage);

		page.setPageInit(Integer.parseInt(cPage),
				showService.getDiscountCount(), rows, pageBlock, path);
		pageCode = page.getSb().toString();

		mav.addObject("discountList", discountList);
		mav.addObject("pageCode", pageCode);
		mav.addObject("cPage", cPage);


		String pc="basic";
		if(req.getParameter("pc")!=null)
			pc = req.getParameter("pc");
		if (device.isMobile()) {
			logger.info("discountList  mobile");
			if(pc.equals("pc")){
				mav.setViewName("discountList");
			}
			else{
				logger.info("isPCVersion");
				mav.setViewName("m.discountList");
			}
		} else {
			logger.info("discountList  desktop");
			mav.setViewName("discountList");
		}
		return mav;
	}