From 74d1c21ebb6b3b916904d95d13d289df23dcdedd Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Tue, 20 Aug 2024 18:06:46 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/ht-dev' into ht-dev

---
 src/main/resources/application-dev.yml |   69 +++++++++++++++++++++++++---------
 1 files changed, 50 insertions(+), 19 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 36b802b..c413807 100644
--- a/src/main/resources/application-dev.yml
+++ b/src/main/resources/application-dev.yml
@@ -9,12 +9,20 @@
       datasource:
         master:
           driver-class-name: com.mysql.cj.jdbc.Driver
-          url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
+#          url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true
+#          username: root
+#          password: yshb@123
+          url: jdbc:mysql://139.196.74.78:3306/drone_o_test?useSSL=false&allowPublicKeyRetrieval=true
           username: root
-          password: yshb@123
-        sqlite:
+          password: jxpskj_2018
+        sqlite-resource:
           driver-class-name: org.sqlite.JDBC
-          url: jdbc:sqlite::resource:static/sqlite/resource_db.db
+          url: jdbc:sqlite:DB/resource_db.db
+          username:
+          password:
+        sqlite-ret:
+          driver-class-name: org.sqlite.JDBC
+          url: jdbc:sqlite:DB/result_db.db
           username:
           password:
 #    url: jdbc:mysql://192.168.2.104:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true
@@ -24,7 +32,7 @@
   redis:
     host: 127.0.0.1
     port: 6379
-    database: 0
+    database: 1
     username: # if you enable
     password:
     lettuce:
@@ -40,6 +48,7 @@
     password: root
     virtualHost: /
     is-open: false
+    enabled: false
 
 
 jwt:
@@ -53,10 +62,10 @@
   # BASIC parameters are required.
   BASIC:
     protocol: MQTT # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
-    host: 139.196.74.78
-    port: 1883
-    username: manage
-    password: 123456
+    host: 182.108.40.114
+    port: 31883
+    username: root
+    password: root
 #    host: 127.0.0.1
 #    port: 1883
 #    username: guest
@@ -65,13 +74,13 @@
     # If the protocol is ws/wss, this value is required.
     path:
     # 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
-    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/osd
-#    inbound-topic: sys/product/+/+,thing/product/+/+
+#    inbound-topic: sys/product/+/status,thing/product/+/requests,thing/product/+/osd
+    inbound-topic: sys/product/+/+,thing/product/+/+
   DRC:
-    protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
-    host: 139.196.74.78
-    port: 8083
-    path: /mqtt
+    protocol: ws # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
+    host: 182.108.40.114
+    port: 35675
+    path: /ws
 
 oss:
   enable: true
@@ -84,13 +93,35 @@
   expire: 3600
   region: us-east-1
   object-dir-prefix:
-  out-net-file-address: http://dev.jxpskj.com:9000
+  out-net-file-address: https://dev.jxpskj.com:8026
 
 #图斑的解压地址和图斑文件转航线文件的地址
-Patches:
+patches:
   url:
     path:
-      unzip: D:/tmp/
+      unzip: src/main/resources/tmp/
       kmz:
         destKMZFile: src/main/resources/template/kmz/
-        sourceDir: src/main/resources/template/wpmz/
\ No newline at end of file
+        planeKmzFile: src/main/resources/template/kmz2/
+        sourceDir: src/main/resources/template/wpmz/
+
+  xml:
+    temple:
+      template: src/main/resources/template/template.xml
+      waylines: src/main/resources/template/waylines.xml
+      planeTemplate: src/main/resources/template/template-polygon.xml
+      planeWaylines: src/main/resources/template/waylines-polygon.xml
+    target:
+      template: src/main/resources/template/wpmz/template.kml
+      waylines: src/main/resources/template/wpmz/waylines.wpml
+      planeTemplate: src/main/resources/template/wpmz/template.kml
+      planeWaylines: src/main/resources/template/wpmz/waylines.wpml
+
+
+db:
+  sqlite:
+    resource: DB/resource_db.db
+    result: DB/result_db.db
+    resultSave: src/main/resources/tmp
+    resourceSave: src/main/resources/tmp
+    resultGtSave: src/main/resources/tmp

--
Gitblit v1.9.3