// 1 团购增删改查
 @Action(
     value = "grouponOpePage",
     interceptorRefs = {@InterceptorRef(value = "userActionStack")},
     results = {@Result(name = SUCCESS, location = "/userPages/grouponindex.jsp")})
 public String grouponOpePage() {
   User sessionUser = (User) ServletActionContext.getRequest().getSession().getAttribute("user");
   Groupon findGroupon = null;
   if (groupon.getId() != null && groupon.getId() != 0) {
     findGroupon = grouponService.getGrouponDetail(groupon.getId());
     if (findGroupon == null && !findGroupon.getUser().getId().equals(sessionUser.getId())) {
       findGroupon = null;
     }
   }
   ServletActionContext.getContext().getValueStack().set("groupon", findGroupon);
   return SUCCESS;
 }
 // 1 进入团购的页面
 @Action(
     value = "grouponDetailPage",
     interceptorRefs = {@InterceptorRef(value = "userActionStack")},
     results = {@Result(name = SUCCESS, location = "/userPages/groupondetail.jsp")})
 public String grouponDetailPage() {
   // 获得这个学校所有的团购项目
   groupon = grouponService.getGrouponDetail(groupon.getId());
   if (groupon != null) {
     String phone = groupon.getTel();
     String phone1 = phone.substring(0, 3);
     String phone2 = phone.substring(7, 11);
     phone = phone1 + "****" + phone2;
     groupon.setTel(phone);
   }
   return SUCCESS;
 }