摘要: // 在program.cs中加入这句,加入缓存支持 builder.Services.AddMemoryCache(); public class Book { public int Id { get; init; } public string Title { get; init; } publ 阅读全文