xieb
2023-11-22 e192e2f080774b0dbb7c0f03f4c6895e6923b373
src/main/resources/application.yml
@@ -1,6 +1,9 @@
server:
  port: 6789
spring:
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  application:
    name: cloud-api-sample
  datasource:
@@ -34,6 +37,18 @@
    multipart:
      max-file-size: 2GB
      max-request-size: 2GB
#  rabbitmq:
#    host: 182.106.212.58
#    port: 25672
#    username: root
#    password: root
#    virtualHost: /
#  rabbitmq:
#    host: localhost
#    port: 5672
#    username: guest
#    password: guest
#    virtualHost: /
jwt:
  issuer: DJI
@@ -57,9 +72,9 @@
    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/+/status,thing/product/+/requests
    # 最初连接到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
@@ -120,6 +135,7 @@
#  access-key: admin
#  secret-key: 12345678
  endpoint: http://dev.jxpskj.com:9000
#  endpoint: https://dev.jxpskj.com:8026
  access-key: pskj
  secret-key: pskj@2021
  bucket: cloud-bucket
@@ -135,7 +151,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: