yanjinhui
2 天以前 fe596f9db05103917c9257348edcbd3ecb5b46e8
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>();
        }
    }
}