From 80aace69506a46f93519fa583d8c04ab861498d2 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期五, 02 八月 2024 23:05:23 +0800
Subject: [PATCH] 电磁锁临时电子围栏加入服务器重启生效创建提交
---
ruoyi-admin/src/main/resources/application.yml | 29 ++++++++++++++++++++++++-----
1 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml
index 772971f..cad5d35 100644
--- a/ruoyi-admin/src/main/resources/application.yml
+++ b/ruoyi-admin/src/main/resources/application.yml
@@ -29,15 +29,31 @@
secret: abcdefghijklmnopqrstuvwxyz
# 浠ょ墝鏈夋晥鏈燂紙榛樿30鍒嗛挓锛�
expireTime: 30
+ # 鏄惁鍏佽璐︽埛澶氱粓绔悓鏃剁櫥褰� (true 鍏佽/ false 涓嶅厑璁�)
+ soloLogin: true
# MyBatis閰嶇疆
+#mybatis:
+# # 鎼滅储鎸囧畾鍖呭埆鍚�
+# typeAliasesPackage: com.ruoyi.**.domain
+# # 閰嶇疆mapper鐨勬壂鎻忥紝鎵惧埌鎵�鏈夌殑mapper.xml鏄犲皠鏂囦欢
+# mapperLocations: classpath*:mapper/**/*Mapper.xml
+# # 鍔犺浇鍏ㄥ眬鐨勯厤缃枃浠�
+# configLocation: classpath:mybatis/mybatis-config.xml
mybatis-plus:
type-Aliases-Package: com.ruoyi.**.domain
mapper-Locations: classpath*:mapper/**/*Mapper.xml
config-Location: classpath:mybatis/mybatis-config.xml
global-config:
banner: off # 鍏抽棴mybatisplus鍚姩鍥炬爣
- db-config: #涓婚敭涓嶇敤MyBatis plus鐨勯洩鑺辩畻娉�,鐢ㄦ暟鎹簱鐨勪富閿嚜澧�
- id-type: uuid
+# db-config: #涓婚敭涓嶇敤MyBatis plus鐨勯洩鑺辩畻娉�,鐢ㄦ暟鎹簱鐨勪富閿嚜澧�
+# id-type: uuid
+# configuration:
+# # 鏄惁寮�鍚嚜鍔ㄩ┘宄板懡鍚嶈鍒欐槧灏�:浠庢暟鎹簱鍒楀悕鍒癑ava灞炴�ч┘宄板懡鍚嶇殑绫讳技鏄犲皠
+# map-underscore-to-camel-case: true
+# # 濡傛灉鏌ヨ缁撴灉涓寘鍚┖鍊肩殑鍒楋紝鍒� MyBatis 鍦ㄦ槧灏勭殑鏃跺�欙紝涓嶄細鏄犲皠杩欎釜瀛楁
+# call-setters-on-nulls: true
+# # 杩欎釜閰嶇疆浼氬皢鎵ц鐨剆ql鎵撳嵃鍑烘潵锛屽湪寮�鍙戞垨娴嬭瘯鐨勬椂鍊欏彲浠ョ敤
+# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# PageHelper鍒嗛〉鎻掍欢
pagehelper:
helperDialect: postgresql
@@ -61,6 +77,9 @@
log-response-status: true # 鎵撳紑/鍏抽棴Forest鍝嶅簲鐘舵�佹棩蹇楋紙榛樿涓� true锛�
log-response-content: true # 鎵撳紑/鍏抽棴Forest鍝嶅簲鍐呭鏃ュ織锛堥粯璁や负 false锛�
async-mode: platform # [鑷獀1.5.27鐗堟湰璧峰彲鐢╙ 寮傛妯″紡锛堥粯璁や负 platform锛�
+ converters:
+ json:
+ type: com.dtflys.forest.converter.json.ForestJacksonConverter
# 闃叉XSS鏀诲嚮
xss:
# 杩囨护寮�鍏�
@@ -71,10 +90,10 @@
urlPatterns: /system/*,/monitor/*,/tool/*
#寮傛绾跨▼姹犻厤缃�
ThreadPoolTask:
- corePoolSize: 20
- maxPoolSize: 40
+ corePoolSize: 10
+ maxPoolSize: 10
keepAliveSeconds: 300
- queueCapacity: 50
+ queueCapacity: 500
# Spring閰嶇疆
spring:
# 璧勬簮淇℃伅
--
Gitblit v1.9.3