/** 所有页面 对点击的商品的抢购数加1 */
 @RequestMapping("/youTotalClick")
 public void youTotalClick(YouSearchDto dto) {
   if (dto.getClikcId() != null) {
     goodsService.totalClick(dto);
     logger.info("-----youTotalClick001-----");
   }
 }
 /** 所有页面 对点击的商品的抢购数加1 */
 @RequestMapping("/hotelTotalClick")
 public void hotelTotalClick(YouSearchDto dto) {
   if (dto.getClikcId() != null) {
     hotelService.totalClick(dto);
     logger.info("-----hotelTotalClick001-----");
   }
 }
  /**
   * 攻略详情页
   *
   * @param dto
   * @param model
   * @return
   */
  @RequestMapping("/notesDetail")
  public String toNotesDetail(YouSearchDto dto, Model model) {
    logger.info("----toNotesList notesList-----");

    // 攻略详情页数据
    YouGuideNotes detail = guideNotesService.findYouGuideNotesDetail(dto.getClikcId());
    model.addAttribute("detail", detail);

    if (detail != null) {
      // IP热门景点
      List<YouGuideNotes> searchNotes =
          guideNotesService.findGuideNotesBySearchResul(detail.getCity(), "8");
      model.addAttribute("searchNotes", searchNotes);

      // IP热门酒店
      dto.setPageSize(5);
      List<YouHotel> searchHotel = hotelService.findsNotesPageByList(detail.getCity(), dto);
      model.addAttribute("searchHotel", searchHotel);
    }

    model.addAttribute("searchDto", dto);
    model.addAttribute("curPageTag", dto.getAjaxType());
    model.addAttribute("dataCityKey", Constants.XML_CITY_KEY);
    model.addAttribute("loginAndRegisterURL", ucServer);
    return "notesDetail";
  }