快乐的昕的电脑
4 天以前 430f4df6519253ffaf49f2d098ac1df77aa5891e
Startup.cs
@@ -30,6 +30,10 @@
        services.Configure<AppSettings>(
            Configuration.GetSection("AppSettings"));
        // 添加服务注册,请求头信息传递。
        services.AddHttpContextAccessor();
        services.AddScoped<RequestInfo>();
        services.AddSwaggerGen(c =>
        {
            c.SwaggerDoc("v1",