From 1a316551c8e46b793904090cfa84781bf77fef2a Mon Sep 17 00:00:00 2001 From: zhangf <1603559716@qq.com> Date: 星期三, 11 九月 2024 15:51:49 +0800 Subject: [PATCH] 增加科目类别 --- ruoyi-admin/src/main/resources/application-dev.yml | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index cdbcaa0..2fd873e 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/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: # 从数据源开关/默认关闭 @@ -100,13 +100,26 @@ max-active: 8 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms +tripartite: + restSever: https://inspurtestcx.saws.org.cn/sjjh + appKey: hj92qe + appPwd: dxep6j #windous测试 file: path: #基础路径 - dcPath: E:\file\gkhy\test\ + dcPath: upload urlRootPath: /uploadfile/ module: #用户模块 - accountPath: /account/ \ No newline at end of file + accountPath: /account/ + +#线程池配置 +threadPool: + corePoolSize: 20 + maxPoolSize: 20 + queueCapacity: 10000 + scheduling: + #控制线程是否执行 true:执行;false:不执行 + enabled: true \ No newline at end of file -- Gitblit v1.9.2