builder.Services.AddDbContext<xdzs_hryContext>(o => o.UseSqlServer(builder.Configuration.GetConnectionString("TodoDataBase")));
// 在 Program.cs 里面添加