From fa89f5c4b746a41efee0362bd3a42ea2c97e2cff Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Mon, 22 Apr 2024 18:13:46 +0800
Subject: [PATCH] 在加水印前对文件进行音视频处理,分别执行不同方法。增加图片压缩、视频压缩方法。

---
 src/main/resources/application-dev.yml |   30 +++++++++++++++++++++++-------
 1 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml
index 36b802b..80e4a08 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
@@ -87,10 +95,18 @@
   out-net-file-address: http://dev.jxpskj.com:9000
 
 #图斑的解压地址和图斑文件转航线文件的地址
-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
+        sourceDir: src/main/resources/template/wpmz/
+
+  xml:
+    temple:
+      template: src/main/resources/template/template.xml
+      waylines: src/main/resources/template/waylines.xml
+    target:
+      template: src/main/resources/template/wpmz/template.kml
+      waylines: src/main/resources/template/wpmz/waylines.wpml
\ No newline at end of file

--
Gitblit v1.9.3