From 5be96ab53be233f854f7563481569a8a0fd56f47 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Wed, 21 Apr 2021 17:06:26 +0800
Subject: [PATCH] 报表路由修改

---
 public/map/widgets/securityMap/SecurityMap.js |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/public/map/widgets/securityMap/SecurityMap.js b/public/map/widgets/securityMap/SecurityMap.js
index 00dd42c..dd96a88 100644
--- a/public/map/widgets/securityMap/SecurityMap.js
+++ b/public/map/widgets/securityMap/SecurityMap.js
@@ -222,8 +222,8 @@
             that.addPoint(that.addEntitys, lgtd, lttd, './images/security.png');
             //获取当前处警员的电子围栏信息
             $.ajax({
-                //https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/selectEnclosureDetail
-                url: 'http://localhost:89/enclosure/enclosure/selectEnclosureDetail',
+                url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/selectEnclosureDetail',
+                //url: 'http://localhost:89/enclosure/enclosure/selectEnclosureDetail',
                 type: 'GET',
                 dataType: 'JSON',
                 data: {
@@ -298,8 +298,8 @@
 
                         //将数据存入数据库
                         $.ajax({
-                            //url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
-                            url: 'http://localhost:89/enclosure/enclosure/insertes',
+                            url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/insertes',
+                            //url: 'http://localhost:89/enclosure/enclosure/insertes',
                             type: 'POST',
                             dataType: 'JSON',
                             data: {
@@ -457,8 +457,8 @@
 
                 //更新电子围栏数据
                 $.ajax({
-                    //url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
-                    url: 'http://localhost:89/enclosure/enclosure/updatee',
+                    url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee',
+                    //url: 'http://localhost:89/enclosure/enclosure/updatee',
                     type: 'POST',
                     dataType: 'JSON',
                     data: {

--
Gitblit v1.9.3