From 896248dc24dd677d17fa6079f75362770656bca6 Mon Sep 17 00:00:00 2001
From: master <master@163.com>
Date: 星期四, 31 三月 2022 20:55:45 +0800
Subject: [PATCH] 添加接口清单、监测统计等页面

---
 public/hn3d/example/00_hn_new.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/public/hn3d/example/00_hn_new.html b/public/hn3d/example/00_hn_new.html
index 32d3345..fcadad8 100644
--- a/public/hn3d/example/00_hn_new.html
+++ b/public/hn3d/example/00_hn_new.html
@@ -101,6 +101,10 @@
         type: 'get',
         dataType: 'json',
         async: false,//鍚屾
+        headers: {
+          "Access-Control-Allow-Origin": "*"
+          // "Accept": "application/json"
+        },
         url: `${data_url}get_dou_params`,
         success: function (data) {
           console.log(data)
@@ -272,7 +276,8 @@
         position: [121.406729, 31.467183, 14], // 妤兼爧浣嶇疆
 
         style: {
-          url: "../model/doulunji/dabi/doulunji_dabi.gltf",
+          url: "http://112.74.77.127:9100/hn/doulunji/dabi/doulunji_dabi.gltf",
+          // url: "https://a.amap.com/jsapi_demos/static/gltf/Duck.gltf",
           scale: 0.6
         },
       })

--
Gitblit v1.9.1