2024年3月15日
摘要: 放 // 使用FileStream读取文件 using (FileStream fileStream = new FileStream(localDestZipFullName, FileMode.Open, FileAccess.Read)) { // 创建一个内存流 using (MemoryS 阅读全文
posted @ 2024-03-15 09:57 邢帅杰 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 在Program.cs中加入配置 app.UseStaticFiles(); // 在这里,我们指定了自定义的静态文件目录 "/custom-static" app.UseStaticFiles(new StaticFileOptions { FileProvider = new Microsoft 阅读全文
posted @ 2024-03-15 09:08 邢帅杰 阅读(107) 评论(0) 推荐(0) 编辑