@RequestMapping("getBlogsList.action")
  @ResponseBody
  public List<Blogs> getBlogsList(HttpServletRequest request) {

    List<Blogs> blogsList = blogsService.getBlogsByMethod(0, 0, null);
    return blogsList;
  }
 @RequestMapping("getBlogsDetail.action")
 @ResponseBody
 public Blogs getBlogs(String blogid, HttpServletRequest request) {
   List<Blogs> blogsList = blogsService.getBlogsByMethod(1, 0, null, blogid);
   return blogsList.get(0);
 }