From 2db1aa88e8ab53096a936163d686b90d8e056a99 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Wed, 21 Aug 2024 23:18:33 +0800
Subject: [PATCH] 国土对接返回信息加密
---
src/main/resources/application-dev.yml | 51 +++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 41 insertions(+), 10 deletions(-)
diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 36b802b..5ac1b7c 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_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:
@@ -65,8 +74,8 @@
# 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/+/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
@@ -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