From 2fd93008d2ce0052353e5016f2c15d1890ffd2e6 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 23 十月 2023 13:42:37 +0800
Subject: [PATCH] 解决影像图层覆盖了矢量图层

---
 MoonExp/Controllers/ExportController.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/MoonExp/Controllers/ExportController.cs b/MoonExp/Controllers/ExportController.cs
index 502503a..1a369d9 100644
--- a/MoonExp/Controllers/ExportController.cs
+++ b/MoonExp/Controllers/ExportController.cs
@@ -5,6 +5,7 @@
 using System.Linq;
 using System.Net;
 using System.Net.Http;
+using System.Security;
 using System.Web.Http;
 
 namespace MoonExp.Controllers
@@ -14,6 +15,9 @@
         [HttpGet]
         public string Test()
         {
+            string str = "http://219.153.49.10:7511/sj_raster/v6/wmts/service/system/10000201/1?ak=mf72ff9295c740ec0f37e61433e8a3ad8d&a=1";
+            string escapeStr = SecurityElement.Escape(str);
+
             return DateTime.Now.ToString("yyyyy-MM-dd HH:mm:ss");
         }
 

--
Gitblit v1.9.3