From 4d7c8b075ac8924ccf9a644e6e1bb3859c49aa32 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 22 六月 2023 10:15:30 +0800 Subject: [PATCH] 1 --- ExportMap/export.html | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ExportMap/export.html b/ExportMap/export.html index de27eac..8d50ce6 100644 --- a/ExportMap/export.html +++ b/ExportMap/export.html @@ -5,7 +5,7 @@ <title></title> <script src="js/jquery.1.12.4.js"></script> <script> - var token = "74fca142-b0cd-4ecb-965b-6b51b8866ec4"; + var token = "b1ad2b8b-2fe5-440d-b072-88eb070a6462"; // Ajax function ajax(url, type, data, dataType, contentType, fn) { @@ -146,6 +146,15 @@ console.log(rs); }); } + + // 娴嬭瘯Laz + function toLaz(){ + var data = { token: token, ids: [7190], depcode: "00", dircode: "0C", userId: 1, name: "577.laz", srid: 4548, z: 0 }; + ajax("Convert/ToLas", "POST", JSON.stringify(data), null, null, function (rs) { + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); + console.log(rs); + }); + } </script> </head> <body> @@ -169,5 +178,6 @@ <input type="button" value="娴嬭瘯Terra" onclick="toTerra();" /> <input type="button" value="娴嬭瘯OSGB" onclick="toOsgb();" /> <input type="button" value="娴嬭瘯Las" onclick="toLas();" /> + <input type="button" value="娴嬭瘯Laz" onclick="toLaz();" /> </body> </html> -- Gitblit v1.9.3