public Task ExportFile()
{
return Task.Factory.StartNew(() =>
{
byte[] bytes = new byte[0];
MemoryStream ms = new MemoryStream(bytes);
return File(ms , “application/octet-stream”, “XXX.xlsx”);
});
}
Core Api输出文件流Excel文件
最新推荐文章于 2024-01-29 08:25:52 发布