From 4efeb31d5b4921d7e851c256009486ad86bc70e2 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 21 Jun 2022 09:14:57 +0800
Subject: [PATCH] 地址替换
---
store/actions.111.js | 6 +++---
manifest.json | 2 +-
store/mutations.js | 2 +-
mapWz/js/vueMain.js | 16 ++++++++--------
store/actions.js | 4 ++--
store/index.js | 4 ++--
6 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/manifest.json b/manifest.json
index 5ca46f2..1bade87 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,6 +1,6 @@
{
"name" : "智慧保安",
- "appid" : "__UNI__6A6A0FC",
+ "appid" : "__UNI__6862E78",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
diff --git a/mapWz/js/vueMain.js b/mapWz/js/vueMain.js
index 2d50583..3eb7a63 100644
--- a/mapWz/js/vueMain.js
+++ b/mapWz/js/vueMain.js
@@ -1,6 +1,6 @@
/*
- * @Author: Morpheus
- * @Date: 2021-08-26 16:22:11
+ * @Author: Morpheus
+ * @Date: 2021-08-26 16:22:11
* @Last Modified by: Morpheus
* @Last Modified time: 2021-08-28 15:03:25
*/
@@ -51,13 +51,13 @@
var url = ''
- if (roleName == '保安公司管理员') {
+ if (roleName == '保安公司管理员') {
- url = 'http://223.82.109.183:2080/api/blade-user/pages?¤t=1&size=999999&deptId=' + deptid
+ url = 'http://61.131.136.25:2080/api/blade-user/pages?¤t=1&size=999999&deptId=' + deptid
} else {
- url = 'http://223.82.109.183:2080/api/blade-user/pages?dispatch=0&jurisdiction=' + jurisdictionId + '¤t=1&size=999999'
+ url = 'http://61.131.136.25:2080/api/blade-user/pages?dispatch=0&jurisdiction=' + jurisdictionId + '¤t=1&size=999999'
}
@@ -366,7 +366,7 @@
var city = position.city; //城市
var addr = position.addr; //详细地址
that.lat = position.lat; //
- that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
+ that.lng = position.lng; //火星坐标 //TODO 实现业务代码逻辑
if (that.LXdhStart != null) {
that.map.removeLayer(that.LXdhStart);
@@ -394,7 +394,7 @@
};
function showErr() {
- //TODO 如果出错了调用此方法
+ //TODO 如果出错了调用此方法
};
@@ -419,4 +419,4 @@
},
wacth: {}
-})
\ No newline at end of file
+})
diff --git a/store/actions.111.js b/store/actions.111.js
index da30573..8e5af2b 100644
--- a/store/actions.111.js
+++ b/store/actions.111.js
@@ -42,7 +42,7 @@
method: "post",
// // dataType: 'JSON',
success: (res) => {
-
+
var geolocation = null;
var qqTime = setInterval(function() {
@@ -70,7 +70,7 @@
var addr = position.addr; //详细地址
wx.request({
- url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
+ url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
method: "post",
data: {
type: 1,
@@ -89,7 +89,7 @@
};
function showErr() {
- //TODO 如果出错了调用此方法
+ //TODO 如果出错了调用此方法
alert(123)
};
diff --git a/store/actions.js b/store/actions.js
index f39f0a1..f413578 100644
--- a/store/actions.js
+++ b/store/actions.js
@@ -74,7 +74,7 @@
geocode: true,
success: function(wzres) {
uni.request({
- url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
+ url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
method: "post",
data: {
type: 1,
@@ -99,7 +99,7 @@
geocode: true,
success: function(wzres) {
uni.request({
- url: "http://223.82.109.183:2080/api/liveLocation/saveLiveLocationAndLocus",
+ url: "http://61.131.136.25:2080/api/liveLocation/saveLiveLocationAndLocus",
method: "post",
data: {
type: 1,
diff --git a/store/index.js b/store/index.js
index a07ac56..4220eaa 100644
--- a/store/index.js
+++ b/store/index.js
@@ -33,9 +33,9 @@
useName: '过客 ',
},
logPath: '',
- piAPI: 'http://223.82.109.183:2080/api',
+ piAPI: 'http://61.131.136.25:2080/api',
// piAPI: 'http://192.168.0.114:81',
- api: 'http://223.82.109.183:2080/api',
+ api: 'http://61.131.136.25:2080/api',
// piAPI: 'http://localhost:83/',
// piAPI: 'http://192.168.0.115:83',
puserName: '',
diff --git a/store/mutations.js b/store/mutations.js
index 469ee9b..8e3c6fb 100644
--- a/store/mutations.js
+++ b/store/mutations.js
@@ -48,7 +48,7 @@
}
console.log('登入数据传输成功 开始进入连接')
- var url = 'ws://223.82.109.183:2086/websocket';
+ var url = 'ws://61.131.136.25:2086/websocket';
uni.connectSocket({
url: url
--
Gitblit v1.9.3