} catch (Exception e1) {
pagenum = 1;
}
String point = "2";
PageList pageList = null;
if("1".equals(type))
{
//1-200积分
pageList = gatewayService.findProductByConditions(1l, 0l, "1", "200",null,pagenum+"",null);
point = "1";
}else if("2".equals(type))
{
//200-500积分
pageList = gatewayService.findProductByConditions(1l, 0l, "200", "500",null,pagenum+"",null);
point = "2";
}else if("3".equals(type))
{
//500-1000积分
pageList = gatewayService.findProductByConditions(1l, 0l, "500", "1000",null,pagenum+"",null);
point = "3";
}else if("4".equals(type))
{
//1000积分以上
pageList = gatewayService.findProductByConditions(1l, 0l, "1000", null,null,pagenum+"",null);
point = "4";
}else
{
//200-500积分
pageList = gatewayService.findProductByConditions(1l, 0l, "200", "500",null,pagenum+"",null);
point = "2";
}
if(pageList!=null&&pageList.getDataList()!=null)
{
root.put("pageList", pageList);
}
root.put("point", point);