/// <summary>
 /// 团购
 /// </summary>
 /// <returns></returns>
 public object GetGroupPurchase()
 {
     BLL.GroupPurchaseBase groupPurchase = new BLL.GroupPurchaseBase();
     BLL.vm_GBDetails vm_GBDetails = new BLL.vm_GBDetails();
         DateTime thistime = DateTime.Now;
         var list = vm_GBDetails.GetModelList("p_IsDel=0 and p_StatusCode=0 and gp_IsDel=0 and gp_pCount-gp_SaleCount>0 and gp_StatusCode=0 and p_SellStatus=1 and gp_endtime>'" + thistime + "' order by gp_EndTime");
     ViewData["GroupPurchase"] = list;
     return ViewData["GroupPurchase"];
 }