@RequestMapping(value = "schoolBagOK")
  public String schoolBagOK(String bagId, String schoolbagId, Model model) {

    SchoolBag schoolbag = schoolBagService.findById(schoolbagId);

    model.addAttribute("msgV", schoolbag.getMsgV());
    model.addAttribute("guanming", schoolbag.getHeadImage());
    model.addAttribute("image", schoolbag.getBgtype());
    model.addAttribute("moban", schoolbag.getMoban());

    model.addAttribute("bagId", bagId);
    return "hongbaoOK";
  }
 @RequestMapping(value = "findById")
 public String findById(String openId, String url, Model model) {
   int cc = url.indexOf("bagId=");
   String bagId = url.substring(cc + 6, cc + 6 + 32);
   Bag bag = bagService.findById(bagId);
   SchoolBag schoolbag = schoolBagService.findBySchoolBagId(bag.getSchoolBagId());
   model.addAttribute("hengimage", schoolbag.getHeadImage());
   model.addAttribute("msg", schoolbag.getMsgV());
   model.addAttribute("beijing", schoolbag.getBgtype());
   model.addAttribute("bagId", bag.getId());
   model.addAttribute("openId", openId);
   return "home";
 }