From 01ca4d2d30873d9b52c0b106e6f372dc318ce021 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 11 十一月 2022 10:10:25 +0800
Subject: [PATCH] 1

---
 ExportMap/cs/ExportUtil.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/ExportMap/cs/ExportUtil.cs b/ExportMap/cs/ExportUtil.cs
index 52e29c2..87df402 100644
--- a/ExportMap/cs/ExportUtil.cs
+++ b/ExportMap/cs/ExportUtil.cs
@@ -72,13 +72,13 @@
         }
 
         /// <summary>
-        /// 鑾峰彇鍑哄浘鐩綍
+        /// 鑾峰彇涓嬭浇鐩綍
         /// </summary>
-        public static string ExportFolder
+        public static string DownloadFolder
         {
             get
             {
-                return ConfigurationManager.AppSettings["exportFolder"];
+                return ConfigurationManager.AppSettings["downloadFolder"];
             }
         }
 
@@ -98,7 +98,7 @@
         /// </summary>
         public static string GetExportSubFolder()
         {
-            string root = ExportFolder;
+            string root = DownloadFolder;
             if (!Directory.Exists(root))
             {
                 Directory.CreateDirectory(root);
@@ -202,7 +202,7 @@
                 File.Delete(qptFile);
             }
 
-            string imgPath = Path.Combine(ExportFolder, args.imgPath);
+            string imgPath = Path.Combine(DownloadFolder, args.imgPath);
             bool flag = File.Exists(imgPath);
 
             return flag ? args.imgPath : null;
@@ -214,7 +214,7 @@
         /// <param name="args">鍑哄浘鍙傛暟</param>
         public static void CreateTemplate(ExportArgs args)
         {
-            string imgPath = Path.Combine(ExportFolder, args.imgPath);
+            string imgPath = Path.Combine(DownloadFolder, args.imgPath);
             string templateFile = Path.Combine(SourcesPath, "Template.qpt");
             string qptFile = Path.Combine(SourcesPath, args.qpt);
             if (File.Exists(qptFile))

--
Gitblit v1.9.3