Ejemplo n.º 1
0
        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
            }));
        }