南骏 池
3 天以前 143f730f90e0226ad2e8436f9c7572c41054f813
Startup.cs
@@ -30,6 +30,10 @@
        services.Configure<AppSettings>(
            Configuration.GetSection("AppSettings"));
        // 添加服务注册,请求头信息传递。
        services.AddHttpContextAccessor();
        services.AddScoped<RequestInfo>();
        services.AddSwaggerGen(c =>
        {
            c.SwaggerDoc("v1",