zhangf
2024-09-11 1a316551c8e46b793904090cfa84781bf77fef2a
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://localhost:3306/swspkmas?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
                username: root
                password: gkhymysql
                password: root
            # 从库数据源
            slave:
                # 从数据源开关/默认关闭
@@ -109,8 +109,17 @@
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