📅  最后修改于: 2022-03-11 15:04:31.660000             🧑  作者: Mango
services.AddControllersWithViews()
.AddNewtonsoftJson(options =>
options.SerializerSettings.ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
);