管道基础大数据平台系统开发-【CS】-ExportMap
13693261870
2023-10-19 7a2da357821328f4fa64cb8532a07c4746c731c0
修改地形生成接口,将地址改为自定义服务
已修改2个文件
7 ■■■■■ 文件已修改
ExportMap/cs/TerrainUtils.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/export.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ExportMap/cs/TerrainUtils.cs
@@ -41,11 +41,12 @@
        public static long DEFAULT_MAX_SIZE = 5L * 1024 * 1024 * 1024;
        /// <summary>
        /// 获取发布地址
        /// 获取发布地址:http://127.0.0.1/ExportMap/terra0?path=3d\terrain\dem\t
        /// </summary>
        public static string GetReleaseUrl(string dircode)
        {
            return "http://{host}/LFData/3d/terrain/" + dircode;
            //return "http://{host}/LFData/3d/terrain/" + dircode;
            return "http://{host}/ExportMap/terra0?path=3d\\terrain\\" + dircode;
        }
        /// <summary>
ExportMap/export.html
@@ -10,7 +10,7 @@
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="js/jquery.1.12.4.js"></script>
  <script>
    var token = "d252658b-0ac1-45f3-90d4-bd78d7429592";
    var token = "b2657209-38ab-4ce3-af63-e2740bbd9f68";
    $(function () {
      $("#token").html(token);