/**
   * 根据id删除一条giftProd记录
   *
   * @param response
   * @param ids
   * @throws IOException
   */
  @RequestMapping("/delete")
  public void deleteGiftProdByIds(HttpServletResponse response, Integer[] ids) throws IOException {
    if (logger.isInfoEnabled()) {
      logger.info("GiftProdService的deleteGiftProdById删除操作,参数ids=" + ids.toString());
    }
    Integer count = giftProdService.deleteGiftProdByIds(ids);

    String msg = "成功删除" + count + "条记录";
    new JsonResult(JsonResult.SUCCESS)
        .setMsg(msg)
        .addData(JsonResult.RESULT_TYPE_TOTAL_COUNT, count)
        .toJson(response);
  }