ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
IDictionaryDao dictionaryDao = (IDictionaryDao) ac.getBean("dictionaryDao");
GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CTC_TCSJ);
root.put("gatewayCategory", gatewayCategory);
//同城商家类型
List<ProductVO> productVOs = gatewayService.initGatewayInfo(GatewayConstants.CTC_TCSJLX);
root.put("productVOs", productVOs);