From 8d9a2d656e4ae007590c622e5f7c228adacdca49 Mon Sep 17 00:00:00 2001 From: rain <167982779@qq.com> Date: Fri, 14 Jun 2024 10:11:36 +0800 Subject: [PATCH] 统一风格 --- src/main/resources/application-dev.yml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 49 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index eaab9ea..2578bd0 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,10 +1,31 @@ #spring spring: datasource: - url: jdbc:mysql://182.108.40.114:3308/drone_zt_test?useSSL=false&allowPublicKeyRetrieval=true - username: root - password: yshb@123 -# url: jdbc:mysql://localhost:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true + #使用阿里的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 + url: jdbc:mysql://139.196.74.78:3306/drone_test?useSSL=false&allowPublicKeyRetrieval=true + username: root + password: jxpskj_2018 + sqlite-resource: + driver-class-name: org.sqlite.JDBC + 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 # username: root # password: 123456 @@ -71,6 +92,29 @@ 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: + url: + path: + unzip: src/main/resources/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 +db: + sqlite: + resource: DB/resource_db.db + result: DB/result_db.db + resultSave: src/main/resources/tmp + resourceSave: src/main/resources/tmp \ No newline at end of file -- Gitblit v1.9.3