heheng
2024-11-28 17b8acf3e68798537f65d897b3c5c1982cd22d38
环境整理
已修改2个文件
16 ■■■■■ 文件已修改
expert-admin/src/main/resources/application-prod.yml 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
expert-admin/src/main/resources/application.yml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
expert-admin/src/main/resources/application-prod.yml
@@ -9,7 +9,7 @@
    # 版权年份
    copyrightYear: 2024
    # 文件路径 示例( Windows配置D:/expert/uploadPath,Linux配置 /home/expert/uploadPath)
    profile: /home/java/expert/upload
    profile: /home/java/expert
    # 获取ip地址开关
    addressEnabled: false
    # 验证码类型 math 数字计算 char 字符验证
@@ -35,9 +35,9 @@
        druid:
            # 主库数据源
            master:
                url: jdbc:mysql://localhost:3306/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true
                username: root
                password: 123456
                url: jdbc:mysql://127.0.0.1:3357/expert_management?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true&allowMultiQueries=true
                username: expert_management
                password: dAx5eFta3LwFAfbG
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭
@@ -91,13 +91,13 @@
    # redis 配置
    redis:
        # 地址
        host: localhost
        host: 127.0.0.1
        # 端口,默认为6379
        port: 6379
        # 数据库索引
        database: 10
        # 密码
        #password:
        password: akj78avauba789a
        # 连接超时时间
        timeout: 10s
        lettuce:
expert-admin/src/main/resources/application.yml
@@ -47,7 +47,9 @@
    # 国际化资源文件路径
    basename: i18n/messages
  profiles:
    active: dev
    # 环境配置,dev开发环境,prod生产环境
    #active: dev
    active: prod
  # 文件上传
  servlet:
    multipart: