public IHttpActionResult GetLoginPermission() { string Token = Request.Headers.Authorization.Parameter; JwtAuthUtil jwtAuthUtil = new JwtAuthUtil(); var result = jwtAuthUtil.GetPermission(Token); return(Ok(new { code = 1, data = result })); }
public IHttpActionResult GetLoginPermission() { string Token = Request.Headers.Authorization.Parameter; JwtAuthUtil jwtAuthUtil = new JwtAuthUtil(); var result = jwtAuthUtil.GetPermission(Token); return(Ok(new { code = 1, data = result })); }