From 7e5e8aa8e961ee94bd704cb20eef3154caf7463c Mon Sep 17 00:00:00 2001 From: xieb <vip_xiaobin810@163.com> Date: Thu, 11 Apr 2024 09:43:19 +0800 Subject: [PATCH] 1 --- src/main/resources/application-dev.yml | 34 +++++++++++++++++++++++++++++++--- 1 files changed, 31 insertions(+), 3 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index dba68a9..69d18b5 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,9 +1,22 @@ #spring spring: datasource: - url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true - username: root - password: yshb@123 + #使用阿里的Druid + type: com.alibaba.druid.pool.DruidDataSource + dynamic: + primary: master #设置默认的数据源或者数据源组,默认值即为master + strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源 + 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 + username: root + password: yshb@123 + sqlite: + driver-class-name: org.sqlite.JDBC + url: jdbc:sqlite::resource:static/sqlite/resource_db.db + username: + password: # url: jdbc:mysql://192.168.2.104:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true # username: root # password: 123456 @@ -73,4 +86,19 @@ object-dir-prefix: out-net-file-address: http://dev.jxpskj.com:9000 +#图斑的解压地址和图斑文件转航线文件的地址 +Patches: + url: + path: + unzip: D:\\tmp\\ + kmz: + destKMZFile: src\\main\\resources\\template\\kmz\\ + 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