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 |   17 +++++++++++++----
 1 files changed, 13 insertions(+), 4 deletions(-)

diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml
index 27c42ab..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:
                 # 从数据源开关/默认关闭
@@ -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
\ No newline at end of file

--
Gitblit v1.9.2