From 0b913d64de836a55d3eace9618c6b2c0d232d34a Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 09 十月 2023 11:18:22 +0800
Subject: [PATCH] 添加 WMTS地址

---
 MoonExp/cs/ExportUtil.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/MoonExp/cs/ExportUtil.cs b/MoonExp/cs/ExportUtil.cs
index ea9e8ba..4bb0552 100644
--- a/MoonExp/cs/ExportUtil.cs
+++ b/MoonExp/cs/ExportUtil.cs
@@ -194,7 +194,8 @@
                 //.Replace("{date}", args.date)
                 .Replace("{date}", DateTime.Now.ToString("yyyy.MM.dd"))
                 .Replace("{layers}", args.layers)
-                .Replace("{imgPath}", imgPath);
+                .Replace("{imgPath}", imgPath)
+                .Replace("{wmsUrl}", null == args.wmtsUrl ? string.Empty : args.wmtsUrl);
 
             File.WriteAllText(qptFile, xml);
         }

--
Gitblit v1.9.3