liujie
2026-09-11 4d15e6b553c448e2e07527e9c06aa4b5f9b099cf
ruoyi-admin/src/main/resources/application-prod.yml
@@ -15,16 +15,16 @@
  # 验证码类型 math 数字计算 char 字符验证
  captchaType: math
  # 部署模式:standalone单机版 cluster集群版
  deploymentMode: standalone
  deploymentMode: cluster
  # 集群版是否对接中台:true对接 false不对接
  middlePlatformEnabled: false
# 开发环境配置
server:
  # 服务器的HTTP端口,默认为8080
  port: 8081
  port: 9098
  servlet:
    # 应用的访问路径
    context-path: /laboratory/
    context-path: /
  tomcat:
    # tomcat的URI编码
    uri-encoding: UTF-8
@@ -73,20 +73,13 @@
  # redis 配置
  redis:
    # 地址
    #    host: 127.0.0.1
    #    # 端口,默认为6379
    #    port: 6379
    #    # 数据库索引
    #    database: 0
    #    # 密码
    #    password: 123456
    host: 127.0.0.1
    # 端口,默认为6379
    port: 6379
    port: 26379
    # 数据库索引
    database: 0
    # 密码
    password: 123456
    password: yuyue520
    # 连接超时时间
    timeout: 10s
    lettuce:
@@ -106,9 +99,9 @@
    druid:
      # 主库数据源
      master:
        url: jdbc:mysql://127.0.0.1:10633/laboratory?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
        url: jdbc:mysql://127.0.0.1:23306/fangkeji?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=Asia/Shanghai
        username: root
        password: Laboratory@2025!
        password: yuyue520
      # 从库数据源
      slave:
        # 从数据源开关/默认关闭
@@ -192,7 +185,7 @@
  # 过滤开关
  enabled: true
  # 排除链接(多个用逗号分隔)
  excludes: /system/notice
  excludes: /system/notice,/system/protocol/config/save
  # 匹配链接
  urlPatterns: /system/*,/monitor/*,/tool/*
# file upload
@@ -201,7 +194,7 @@
    location: /file/
    qrLocation: /file/qrCode/
    accessPath: /file/
    allowExt: .jpg|.png|.gif|.jpeg|.doc|.docx|.apk|.MP4|.mp4|.pdf|.PDF|.xls|.xlsx|.rar|.zip|.rar|.ppt|.PPT|.pptx|.CAJ|.caj|.bmp
    allowExt: .jpg|.png|.gif|.jpeg|.doc|.docx|.apk|.MP4|.mp4|.pdf|.PDF|.xls|.xlsx|.rar|.zip|.rar
wx:
  conf:
    appId: