From 28f403fd213bb09843e186b866d68f3c5c6630cf Mon Sep 17 00:00:00 2001
From: haozq <1611483981@qq.com>
Date: Tue, 30 Dec 2025 14:46:13 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
czl-screen/js/jq.js | 1 +
czl-screen/lodingIndex.html | 2 +-
czl-screen/pages/home/map.html | 4 ++--
czl-screen/pages/home/map_amplify.html | 4 ++--
czl-web/js/jq.js | 22 +++++++++++-----------
public/map/map_load.js | 4 ++--
public/public.js | 11 +++++++----
7 files changed, 26 insertions(+), 22 deletions(-)
diff --git a/czl-screen/js/jq.js b/czl-screen/js/jq.js
index 315ffcd..40ff820 100644
--- a/czl-screen/js/jq.js
+++ b/czl-screen/js/jq.js
@@ -4,6 +4,7 @@ $.ajaxSetup({
"token" : localStorage.getItem("czldp-token")
},
error : function(xhr, textStatus, errorThrown) {
+ debugger
var msg = xhr.responseText;
var response = JSON.parse(msg);
var code = response.code;
diff --git a/czl-screen/lodingIndex.html b/czl-screen/lodingIndex.html
index 277f1dd..eeacf7d 100644
--- a/czl-screen/lodingIndex.html
+++ b/czl-screen/lodingIndex.html
@@ -242,7 +242,7 @@
var token =data.token;
var uName=data.userame;
localStorage.setItem("czldp-token", token);
- localStorage.setItem('userName', uName);
+ localStorage.setItem('userName', username);
location.href = 'pages/home/home.html';
}
}
diff --git a/czl-screen/pages/home/map.html b/czl-screen/pages/home/map.html
index 645644e..6deaef5 100644
--- a/czl-screen/pages/home/map.html
+++ b/czl-screen/pages/home/map.html
@@ -11,8 +11,8 @@
-
-
+
+
diff --git a/czl-screen/pages/home/map_amplify.html b/czl-screen/pages/home/map_amplify.html
index a7a307d..c5e578b 100644
--- a/czl-screen/pages/home/map_amplify.html
+++ b/czl-screen/pages/home/map_amplify.html
@@ -54,8 +54,8 @@
-
-
+
+
diff --git a/czl-web/js/jq.js b/czl-web/js/jq.js
index 5c13587..19ee228 100644
--- a/czl-web/js/jq.js
+++ b/czl-web/js/jq.js
@@ -16,17 +16,17 @@ $.ajaxSetup({
var response = JSON.parse(msg);
var code = response.code;
var message = response.message;
- if (code == 400) {
- layer.msg(message);
- } else if (code == 401) {
- localStorage.removeItem("czl-token");
- //location.href = contentPath+'/login.html';
- } else if (code == 403) {
- console.log("未授权:" + message);
- layer.msg('未授权');
- } else if (code == 500) {
- layer.msg('系统错误:' + message);
- }
+ // if (code == 400) {
+ // layer.msg(message);
+ // } else if (code == 401) {
+ // localStorage.removeItem("czl-token");
+ // //location.href = contentPath+'/login.html';
+ // } else if (code == 403) {
+ // console.log("未授权:" + message);
+ // layer.msg('未授权');
+ // } else if (code == 500) {
+ // layer.msg('系统错误:' + message);
+ // }
}
});
diff --git a/public/map/map_load.js b/public/map/map_load.js
index c4bf797..76d1ac9 100644
--- a/public/map/map_load.js
+++ b/public/map/map_load.js
@@ -1,7 +1,7 @@
var bmapcfg = {
'imgext' : '.png', //瓦片图的后缀 ------ 根据需要修改,一般是 .png .jpg
- 'tiles_dir' : '/bMapImgs/baidumaps/roadmap', //普通瓦片图的地址,为空默认在 offlinemap/tiles/ 目录
- // 'tiles_path' : 'http://192.168.1.120:3000/roadmap',
+ //'tiles_dir' : '../../roadmap', //普通瓦片图的地址,为空默认在 offlinemap/tiles/ 目录
+ 'tiles_path' : 'http://192.168.0.14:1999/roadmap',
'tiles_hybrid': '', //卫星瓦片图的地址,为空默认在 offlinemap/tiles_hybrid/ 目录
'tiles_self' : '' //自定义图层的地址,为空默认在 offlinemap/tiles_self/ 目录
};
diff --git a/public/public.js b/public/public.js
index 8f5cecb..48049d2 100644
--- a/public/public.js
+++ b/public/public.js
@@ -2,14 +2,17 @@
// let web_url="http://20.56.230.91:10080"
// let request_url="http://20.56.230.91:10080/bnscloud"
// let contentPath="/bonus_cloud_web";
-let contentPath="/hn_cloud_web";
-let web_url="http://127.0.0.1:8849"
-let request_url="http://192.168.0.50:18080/bnscloud"
+// let contentPath="/hn_cloud_web";
+// let web_url="http://127.0.0.1:8849"
+// let request_url="http://192.168.0.50:18080/bnscloud"
+let contentPath="/hn_cloud_web";
+let web_url="http://192.168.0.14:1999"
+let request_url="http://192.168.0.14:1999/hncloud"
//承载力大屏
-let czl_url= request_url+"/czldp";
+let czl_url= request_url+"/czl";
//承载力后台
let czl_ht_url= request_url+"/czl";
//实名制大屏