摘要: 1.启动时添加HttpContextAccessor var builder = WebApplication.CreateBuilder(args); builder.Services.AddHttpContextAccessor(); WebAppContext.Services = build 阅读全文
posted @ 2022-04-20 14:19 known 阅读(1240) 评论(1) 推荐(0) 编辑