From 0ae0a73246652e072777411961ca7217df7c34d6 Mon Sep 17 00:00:00 2001
From: xieb <vip_xiaobin810@163.com>
Date: Tue, 10 Oct 2023 11:26:09 +0800
Subject: [PATCH] 配置修改
---
src/main/resources/application.yml | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 1604425..3280d3f 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -7,9 +7,12 @@
druid:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://172.16.13.129:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
+# url: jdbc:mysql://172.16.13.129:3306/cloud_sample?useSSL=false&allowPublicKeyRetrieval=true
+# username: root
+# password: 123456
+ url: jdbc:mysql://182.106.212.58:3308/drone_test?useSSL=false&allowPublicKeyRetrieval=true
username: root
- password: 123456
+ password: yshb@123
initial-size: 10
min-idle: 10
max-active: 20
@@ -54,13 +57,13 @@
client-id: aix123456
# If the protocol is ws/wss, this value is required.
path:
- # Topics that need to be subscribed when initially connecting to mqtt, multiple topics are divided by ",".
-# inbound-topic: sys/product/+/status,thing/product/+/requests
- inbound-topic: sys/product/+/+,thing/product/+/+
+ # 最初连接到mqtt时需要订阅的主题 多个订阅用 "," .
+ 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: 182.106.212.58
- port: 15675
+ port: 35675
path: /ws
url:
@@ -117,12 +120,13 @@
# access-key: admin
# secret-key: 12345678
endpoint: http://dev.jxpskj.com:9000
+# endpoint: https://dev.jxpskj.com:8025
access-key: pskj
secret-key: pskj@2021
bucket: cloud-bucket
expire: 3600
region: us-east-1
- object-dir-prefix: wayline
+ object-dir-prefix:
logging:
level:
@@ -132,7 +136,7 @@
ntp:
server:
- host: Google.mzr.me
+ host: ntp.ntsc.ac.cn
# To create a license for an application: https://developer.dji.com/user/apps/#all
cloud-api:
--
Gitblit v1.9.3