kongzy
2024-10-16 5eb29a5eab52a99c22e8fee4c4df34ddb55b044c
ruoyi-admin/src/main/resources/application-dev.yml
@@ -4,7 +4,7 @@
    port: 8085
    servlet:
        # 应用的访问路径
        context-path: /
        context-path: /api
    tomcat:
        # tomcat的URI编码
        uri-encoding: UTF-8
@@ -24,9 +24,9 @@
        druid:
            # 主库数据源
            master:
                url: jdbc:mysql://192.168.0.52:3306/swspkmas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
                url: jdbc:mysql://192.168.2.16:7006/swspkmas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
                username: root
                password: gkhymysql
                password: 2farwL3yPXfbH2AP
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭
@@ -81,13 +81,13 @@
    # redis 配置
    redis:
        # 地址
        host: 127.0.0.1
        host: 192.168.2.16
        # 端口,默认为6379
        port: 6379
        # 数据库索引
        database: 5
        # 密码
        password: root
        password: wioowr23923sd3*&
        # 连接超时时间
        timeout: 10s
        lettuce:
@@ -109,8 +109,24 @@
file:
    path:
        #基础路径
        dcPath: E:\file\gkhy\test\
        dcPath: upload
        urlRootPath: /uploadfile/
        module:
            #用户模块
            accountPath: /account/
#线程池配置
threadPool:
    corePoolSize: 20
    maxPoolSize: 20
    queueCapacity: 10000
    scheduling:
        #控制线程是否执行 true:执行;false:不执行
        enabled: true
# 七牛云相关信息
safecheckqiniuymes:
    accesskey: 5YprpjY0BJiyjII2VqlHed7UhBEvvkPZicbwd8Kl
    secretkey: m3gGQNQ9cLmVBBZwPXZ5-Wzr0duzyAPPmJUx4_ay
    templateid: 1844221365930962944