摘要: 业务场景:根据图片地址从一个接口获取到图片字节,然后转为图片并存在在本地 阅读全文
posted @ 2019-07-26 16:24 救赎之路其修远兮 阅读(804) 评论(0) 推荐(0) 编辑
摘要: a标签实现多文件下载 function loadFilesWin(urls) { var urlsArray = urls.split(",");被逗号分隔的多个文件的地址 for (var i = 0; i < urlsArray.length; i++) { var aDom = documen... 阅读全文
posted @ 2019-07-26 16:08 救赎之路其修远兮 阅读(2731) 评论(2) 推荐(0) 编辑
摘要: public static void PictureToExcel(Data data,string fileTemplate, string feedbackFileName) { System.IO.FileStream file = new System.IO.FileStream(fileTemplate, FileMode.Open, FileAccess.... 阅读全文
posted @ 2019-07-26 15:53 救赎之路其修远兮 阅读(1406) 评论(0) 推荐(0) 编辑
摘要: // 调用 ToExcel_ByTemplate(model.MainList, Server.MapPath("~/template/" + "模板表" + ".xlsx"), Server.MapPath("~/download/" + "目标表" + ".xlsx")); //List data需要导出的数据列表 fileTemplate模板地址 feedbac... 阅读全文
posted @ 2019-07-26 15:38 救赎之路其修远兮 阅读(837) 评论(0) 推荐(0) 编辑