using Microsoft.AspNetCore.Http;
using System.Threading.Tasks;
namespace EC.Web.Middleware
{
///
/// 版 本 EasyCode EC管理后台
/// Copyright (c) 2019-present EC管理有限公司
/// 创建人:tobin
/// 日 期:2019.09.11
/// 描 述:权限中间件
///
public class MiddlewareEx
{
private readonly RequestDelegate _next;
public MiddlewareEx(RequestDelegate next)
{
_next = next;
}
///
/// 执行
///
/// 请求连接
///
public async Task Invoke(HttpContext httpContext)
{
await _next(httpContext);
return;
}
}
}