From f4b178e64fd43262872fe9d443aa9da6048ceaac Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 20 十一月 2020 17:57:29 +0800 Subject: [PATCH] Merge branch 'CJL' --- HDL_ON/DAL/FileUtils.cs | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/HDL_ON/DAL/FileUtils.cs b/HDL_ON/DAL/FileUtils.cs index 36d64fa..fdc2ac8 100644 --- a/HDL_ON/DAL/FileUtils.cs +++ b/HDL_ON/DAL/FileUtils.cs @@ -1,13 +1,8 @@ 锘縰sing System; using System.IO; using System.Collections.Generic; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; using Shared; -//using HDL_ON.UI; using HDL_ON.DAL.Net; -using HDL_ON.DAL; -using HDL_ON.Entity; namespace HDL_ON { @@ -443,7 +438,7 @@ FileStream fs = null; try { - HDL_ON.DAL.Net.MyWebClient webClient = new HDL_ON.DAL.Net.MyWebClient(); + MyWebClient webClient = new MyWebClient(); byte[] recevieBytes = webClient.DownloadData(new Uri(url)); fs = new FileStream(fileName, FileMode.Create, FileAccess.Write); fs.Write(recevieBytes, 0, recevieBytes.Length); -- Gitblit v1.8.0