From c444e7eeb65ef09c15722b5d7749a94ba8e8ed5b Mon Sep 17 00:00:00 2001 From: gaoxq <376340421@qq.com> Date: Mon, 23 Mar 2026 22:48:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/config/application-prod.yml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/web-api/src/main/resources/config/application-prod.yml b/web-api/src/main/resources/config/application-prod.yml index 9a91567..64ab691 100644 --- a/web-api/src/main/resources/config/application-prod.yml +++ b/web-api/src/main/resources/config/application-prod.yml @@ -47,6 +47,50 @@ mybatis: refresh: enabled: false +#======================================# +#========== Spring settings ===========# +#======================================# + +spring: + + # 应用程序名称 + application: + name: jeesite-web-api + + # 环境名称(注意:不可设置为 test 它是单元测试专用的名称) + profiles: + active: default + + # 打印横幅 + main: + banner-mode: "off" + lazy-initialization: true + + # JTA XA 事务(spring boot 3) + jta: + enabled: false + + # 事务超时时间,单位秒(30分钟)(spring boot 3) + transaction: + default-timeout: 30m + + # Redis 连接参数 (RedisProperties) + data: + redis: + host: 192.168.31.194 + port: 16379 + ssl: + enabled: false + database: 0 + password: admin + timeout: 20000 + lettuce: + pool: + # 最大空闲连接数 + maxIdle: 3 + # 最大活动连接数 + maxActive: 20 + #======================================# #======== FileUpload settings =========# #======================================#