Administrator 4 лет назад
Родитель
Сommit
40723680c7

+ 6 - 6
leiSP-admin/src/main/resources/application-druid.yml

@@ -13,14 +13,14 @@ spring:
 #                username: senlinfanghuo
 #                password: slfh123456
 
-                url: jdbc:mysql://218.27.1.157:53306/senlinfanghuo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-                username: senlinfanghuo
-                password: slfh123456
+#                url: jdbc:mysql://218.27.1.157:53306/senlinfanghuo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+#                username: senlinfanghuo
+#                password: slfh123456
 
 
-#                url: jdbc:mysql://36.97.65.105:53306/senlinfanghuo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
-#                username: sjkj
-#                password: sjkj123456
+                url: jdbc:mysql://36.97.65.105:53306/senlinfanghuo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+                username: sjkj
+                password: sjkj123456
 
 
 

+ 1 - 2
mybusiness/src/main/resources/templates/business/manager/firemanager/historyFire.html

@@ -58,7 +58,6 @@
         }
 
         function searchSuccess(e) {
-            console.log("####", e)
             addMarkSuccess(e);
         }
 
@@ -84,8 +83,8 @@
         }
 
         function addMarkSuccess(e) {
+            resultLayer.clearLayers();
             $(e.rows).each(function (index, data) {
-
                 var marker = L.marker([data.latitude, data.longitude]);
                 resultLayer.addLayer(marker);
             });