摘要: 在 Startup的ConfigureServices方法中添加: services.Configure<ApiBehaviorOptions>(options => { options.SuppressConsumesConstraintForFormFileParameters = true; 阅读全文
posted @ 2018-11-13 16:40 576 阅读(806) 评论(0) 推荐(0) 编辑