1
dengjunjie
3 天以前 1843907a532b6796386b42082a1e6aa1b3da2742
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Microsoft.AspNetCore.Builder;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace WIDESEAWCS_Core.Middlewares
{
    public static class MiddlewareHelpersNew
    {
        /// <summary>
        /// 请求响应中间件
        /// </summary>
        /// <param name="app"></param>
        /// <returns></returns>
        public static IApplicationBuilder UseApiLogMiddlewareNew(this IApplicationBuilder app)
        {
            return app.UseMiddleware<ApiLogMiddlewareNew>();
        }
    }
}