/**
   * 使用DataTables显示数据
   *
   * @return
   */
  @RequestMapping(value = "/log/load", method = RequestMethod.GET)
  @ResponseBody
  public DataTablesResult userLogLoad(HttpServletRequest request) {

    String draw = request.getParameter("draw");
    String start = request.getParameter("start");
    String length = request.getParameter("length");

    List<UserLog> userLogList = userService.findCurrentUserLog(start, length);
    Long count = userService.findCurrentUserLogCount();

    return new DataTablesResult<>(draw, userLogList, count, count);
  }
 /** 修改密码 */
 @RequestMapping(value = "/password", method = RequestMethod.POST)
 @ResponseBody
 public String editPassword(String password) {
   userService.changePassword(password);
   return "success";
 }