docs: def post(self):
          """token生成流程:
          >1. 首先使用用户名和密码去签定身份返回True/False
          >2. 如果True接着获取用户可公开数据
          >3. 之后生成JWT
          具体业务流程自由定义，比如可以保存token到redis中，设置ttl过期时间。
          """
          #1.
          username = request.form.get("username")
          password = request.form.get("password")
          exipres  = 7200
          #expire time(seconds)
          if username and password:
              _authRes = self._getAuthentication(username, password)
          else:
              return {"msg": "invalid username or password"}
          #2.
          if _authRes:
              _payload = self._getUserData(username)
              #3.
              try:
                  token = self.jwt.createJWT(_payload, expiredSeconds=exipres)
              except JWTException:
              	return {"msg": "Failed to request token"}
              else:
                  return {"token": token}
          else:
              return {"msg": "Authentication failed"}