无人机项目后端代码
xieb
2023-09-22 22582779cb82d0e52f18e812e12ee3a3e8c9c357
配置修改
1 files modified
9 ■■■■■ changed files
src/main/resources/application.yml 9 ●●●●● patch | view | raw | blame | history
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
@@ -56,7 +59,7 @@
    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/+/+
    inbound-topic: sys/product/+/status,thing/product/+/requests
  DRC:
    protocol: WS # @see com.dji.sample.component.mqtt.model.MqttProtocolEnum
    host: 182.106.212.58