1.NuGet 安装Microsoft.Owin.Cors
2.在Startup类添加 appBuilder.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
3.跨域解决
2023-12-22 09:19:10
1.NuGet 安装Microsoft.Owin.Cors
2.在Startup类添加 appBuilder.UseCors(Microsoft.Owin.Cors.CorsOptions.AllowAll);
3.跨域解决