From 8a5a9f475904c94b5662bb921866bc9d16d90ada Mon Sep 17 00:00:00 2001 From: aikai Date: Mon, 17 Mar 2025 14:30:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(system):=20=E6=B7=BB=E5=8A=A0=E4=B8=80?= =?UTF-8?q?=E9=94=AE=E6=80=A5=E5=81=9C=E5=92=8C=E6=81=A2=E5=A4=8D=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E4=B8=8A=E6=89=80=E6=9C=89AGV=E7=9A=84=E5=8A=9F?= =?UTF-8?q?=E8=83=BD-=20=E5=9C=A8=20PositionMapController=20=E4=B8=AD?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=20emergencyStopOrRecovery=20?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=20-=20=E5=9C=A8=20PositionMapService=20?= =?UTF-8?q?=E4=B8=AD=E6=B7=BB=E5=8A=A0=E4=BA=86=20emergencyStopOrRecovery?= =?UTF-8?q?=20=E6=96=B9=E6=B3=95-=20=E5=9C=A8=20PositionMapServiceImpl=20?= =?UTF-8?q?=E4=B8=AD=E5=AE=9E=E7=8E=B0=E4=BA=86=20emergencyStopOrRecovery?= =?UTF-8?q?=20=E6=96=B9=E6=B3=95=20-=E4=BC=98=E5=8C=96=E4=BA=86=20Position?= =?UTF-8?q?MapLineDTO=20=E4=B8=AD=E7=9A=84=E8=BD=A6=E5=A4=B4=E6=9C=9D?= =?UTF-8?q?=E5=90=91=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yaml | 44 +++++++++++++++++++ .../src/main/resources/application-dev.yaml | 15 ++++--- 2 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 yudao-module-mqtt/yudao-module-mqtt-biz/src/main/resources/application-dev.yaml diff --git a/yudao-module-mqtt/yudao-module-mqtt-biz/src/main/resources/application-dev.yaml b/yudao-module-mqtt/yudao-module-mqtt-biz/src/main/resources/application-dev.yaml new file mode 100644 index 000000000..aaafda1cf --- /dev/null +++ b/yudao-module-mqtt/yudao-module-mqtt-biz/src/main/resources/application-dev.yaml @@ -0,0 +1,44 @@ +spring: + cloud: + nacos: + server-addr: 127.0.0.1:8848 # Nacos 服务器地址 + username: # Nacos 账号 + password: # Nacos 密码 + discovery: # 【配置中心】配置项 + namespace: dev # 命名空间。这里使用 dev 开发环境 + group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP + metadata: + version: 1.0.0 # 服务实例的版本号,可用于灰度发布 + config: # 【注册中心】配置项 + namespace: dev # 命名空间。这里使用 dev 开发环境 + group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP + +# Lock4j 配置项 +lock4j: + acquire-timeout: 3000 # 获取分布式锁超时时间,默认为 3000 毫秒 + expire: 30000 # 分布式锁的超时时间,默认为 30 毫秒 + +--- #################### 监控相关配置 #################### + +# Actuator 监控端点的配置项 +management: + endpoints: + web: + base-path: /actuator # Actuator 提供的 API 接口的根目录。默认为 /actuator + exposure: + include: '*' # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 + + +# MQTT +mqtt: +# host: tcp://192.168.0.54:1883 + host: tcp://127.0.0.1:1883 + username: adminuser + password: adminuser + qos: 0 + clientId: mqttx_b82345a52 + maxInflight: 10 + timeout: 10 + keepalive: 20 + + diff --git a/yudao-module-system/yudao-module-system-biz/src/main/resources/application-dev.yaml b/yudao-module-system/yudao-module-system-biz/src/main/resources/application-dev.yaml index 191bf2df7..dd1677a73 100644 --- a/yudao-module-system/yudao-module-system-biz/src/main/resources/application-dev.yaml +++ b/yudao-module-system/yudao-module-system-biz/src/main/resources/application-dev.yaml @@ -56,20 +56,21 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://127.0.0.1:3306/zn_wcs?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true&allowMultiQueries=true # MySQL Connector/J 8.X 连接的示例 username: root - password: 123456 + password: yhtkj@2024! slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改 lazy: true # 开启懒加载,保证启动速度 - url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://127.0.0.1:3306/zn_wcs?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true&allowMultiQueries=true # MySQL Connector/J 8.X 连接的示例 username: root - password: 123456 + password: yhtkj@2024! # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 redis: - host: 400-infra.server.iocoder.cn # 地址 + host: 127.0.0.1 # 地址 port: 6379 # 端口 - database: 1 # 数据库索引 + database: 3 # 数据库索引 + password: yhtkj@2024! # 密码,建议生产环境开启 # password: 123456 # 密码,建议生产环境开启 --- #################### MQ 消息队列相关配置 #################### @@ -190,4 +191,4 @@ zn: scan_height: 0.4 #扫描高度 parm: 5000 #等待时间 lift_height: 0.1 #抬高托盘高度 - move_height: 0.1 #行走高度 \ No newline at end of file + move_height: 0.1 #行走高度