Template temp = getConfiguration().getTemplate("cityadvise.ftl");
ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(this.getServletContext());
IGatewayService gatewayService = (IGatewayService) ac.getBean("gatewayService");
GatewayCategory gatewayCategory = gatewayService.findGatewayCategoryById(GatewayConstants.CTC_TCTG);
root.put("gatewayCategory", gatewayCategory);
IPObject iPObject = (IPObject) request.getSession().getAttribute("iPObject");
//同城推广
List<ProductVO> productVOs = gatewayService.initGatewayInfo(GatewayConstants.CTC_TCTG,iPObject != null?iPObject.getAreaNode():null);