From 41b9f7a23113c0e82d19e5e44862380a2322f6a0 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 26 十二月 2022 08:56:03 +0800
Subject: [PATCH] 1

---
 ExportMap/up.html |   19 ++++++++++++++++++-
 1 files changed, 18 insertions(+), 1 deletions(-)

diff --git a/ExportMap/up.html b/ExportMap/up.html
index 4195125..90e20c9 100644
--- a/ExportMap/up.html
+++ b/ExportMap/up.html
@@ -10,7 +10,7 @@
     var app = {};
     var path = "20221128010101";
     var url = "http://127.0.0.1:12316/server/";
-    var token = "278301c9-366f-424e-a77e-5c4b9d89bb66";
+    var token = "f174edc5-8640-4490-a159-e2d181d2cef7";
 
     $(function () {
       $("#pathSpan").html(path);
@@ -469,6 +469,22 @@
         alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
       });
     }
+
+    function insertApply() {
+      var obj = {
+        ids: [20, 21, 22],
+        pwd: aesEncrypt("Test!321&456"),
+        tabs: ["鍩庡競鐐�", "琛屾斂鍖哄垝绾�", "灞呮皯鍦伴潰"],
+        entities: ["dlgagnp", "dlg25wboul", "dlg25wresa"],
+        wkt: aesEncrypt("POLYGON ((115.94927385452 32.3754479115071 0,121.989371092554 32.2766788010181 0,121.850621222894 29.6874200067864 0,115.9727267226 29.7835368627922 0,115.94927385452 32.3754479115071 0))"),
+        descr: "鐢ㄤ簬鐢熶骇椤圭洰锛岃鎵瑰噯"
+      };
+
+      ajax(getUrl("apply/insertApply"), "POST", JSON.stringify(obj), null, null, function (rs) {
+        console.log(rs);
+        alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result);
+      });
+    }
   </script>
 </head>
 <body>
@@ -520,6 +536,7 @@
 
     鏁版嵁鐢宠锛�
     <input value="鏌ヨDB涓孩鍑虹殑鍗曚綅ID" type="button" onclick="selectDbOverflowDep();" />
+    <input value="鎻掑叆鏁版嵁鐢宠" type="button" onclick="insertApply();" />
     <hr />
     <br />
   </form>

--
Gitblit v1.9.3