docs: @RequestMapping(value = "/gettoken", method = {RequestMethod.POST})
      @ResponseBody
      public ResponseMessage getToken(HttpServletRequest request, HttpServletResponse response) {
          String username = StringUtil.EMPTY_STRING;
          String password = StringUtil.EMPTY_STRING;
          ResponseMessage result = new ResponseMessage();
          try {
              JSONObject json = tgtools.web.util.RequestHelper.parseRequest(request);
              if (json.has("username")) {
                  username = json.getString("username");
              }
              if (json.has("password")) {
                  password = json.getString("password");
              }
  
              mUserService.validLoginUser(username, password);
              String token = mUserService.createToken(username, request.getRemoteAddr());
              result.setStatus(true);
              result.setData(token);
          } catch (Exception e) {
              result.setStatus(false);
              result.setData(e.getMessage());
          }
          return result;
      }