62,046
社区成员
发帖
与我相关
我的任务
分享
public ActionResult Export(string json)
{
string path = AppDomain.CurrentDomain.BaseDirectory+@"Download\"+"test.xlsx";
return File(path, "application/octet-stream", DateTime.Now.ToString("yyyyMMddHHmm") + ".xlsx");
}