From d9c6232dac8c1af6586d116fe558d154feb46011 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 21 六月 2023 15:50:22 +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 bebe2bd..dd6ab7c 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 = "94baeb78-d4cc-43db-b9b5-8ff9584c587d"; + var token = "74fca142-b0cd-4ecb-965b-6b51b8866ec4"; // Ajax function ajax(url, type, data, dataType, contentType, fn) { @@ -128,6 +128,15 @@ console.log(rs); }); } + + // 娴嬭瘯OSGB + function toOsgb() { + var data = { token: token, ids: [7187], depcode: "00", dircode: "0C", userId: 1, name: "3-1鍊炬枩妯″瀷-涓崼绔�" }; + ajax("Convert/ToOsgb", "POST", JSON.stringify(data), null, null, function (rs) { + alert("code = " + rs.code + ", msg = " + rs.msg + ", result = " + rs.result); + console.log(rs); + }); + } </script> </head> <body> @@ -149,5 +158,6 @@ <input type="button" value="娴嬭瘯Ifc" onclick="convert3();" /> <input type="button" value="娴嬭瘯SG" onclick="toSG();" /> <input type="button" value="娴嬭瘯Terra" onclick="toTerra();" /> + <input type="button" value="娴嬭瘯OSGB" onclick="toOsgb();" /> </body> </html> -- Gitblit v1.9.3