From 424dc33bba360c3ebaabc337475c0957dd0e26ce Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Sun, 3 Aug 2025 10:13:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9springboot3=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AEyml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-oracle.yml | 3 ++- .../src/main/resources/application-sqlserver.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml index 853dabcc0..d3c960d44 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-oracle.yml @@ -108,7 +108,7 @@ spring: static-locations: classpath:/static/,classpath:/public/ autoconfigure: exclude: - - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure + - com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure - org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration datasource: druid: @@ -282,6 +282,7 @@ cas: #Mybatis输出sql日志 logging: level: + org.springframework.context.support.PostProcessorRegistrationDelegate: error org.flywaydb: debug org.jeecg.modules.system.mapper: info #swagger diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml index 63fa1e820..ef855a8a1 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-sqlserver.yml @@ -108,7 +108,7 @@ spring: static-locations: classpath:/static/,classpath:/public/ autoconfigure: exclude: - - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure + - com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure - org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration datasource: druid: @@ -277,6 +277,7 @@ cas: #Mybatis输出sql日志 logging: level: + org.springframework.context.support.PostProcessorRegistrationDelegate: error org.flywaydb: debug org.jeecg.modules.system.mapper: info #swagger From 128c2c97f6cf0c3787cc236705747337261ca30a Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Sun, 3 Aug 2025 10:32:18 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9springboot3=E7=9A=84?= =?UTF-8?q?=E9=85=8D=E7=BD=AEyml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dm8.yml | 21 +++++++++++++++++-- .../src/main/resources/application-docker.yml | 5 +++-- .../main/resources/application-kingbase8.yml | 21 +++++++++++++++++-- 3 files changed, 41 insertions(+), 6 deletions(-) diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml index ffd53fa32..083e3776b 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-dm8.yml @@ -34,17 +34,22 @@ spring: max-file-size: 10MB max-request-size: 10MB mail: + # 定时任务发送邮件 + timeJobSend: false host: smtp.163.com username: jeecgos@163.com password: ?? properties: + mail.smtp.timeout: 10000 # 连接超时(毫秒) + mail.smtp.connectiontimeout: 10000 # 连接超时(毫秒) + mail.smtp.writetimeout: 10000 # 写入超时(毫秒) mail.smtp.auth: true smtp.ssl.enable: true ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc jdbc: - initialize-schema: never + initialize-schema: embedded #定时任务启动开关,true-开 false-关 auto-startup: true #延迟1秒启动定时任务 @@ -166,7 +171,7 @@ jeecg: enabled: true model: deepseek-chat apiKey: ?? - apiHost: https://api.deepseek.com + apiHost: https://api.deepseek.com/v1 timeout: 60 # AIRag向量库 ai-rag: @@ -206,6 +211,18 @@ jeecg: secretKey: ?? endpoint: oss-cn-beijing.aliyuncs.com bucketName: jeecgdev + # 短信模板 + sms-template: + # 签名 + signature: + # 模板code + templateCode: + # 登录短信、忘记密码模板编码 + SMS_175435174: + # 修改密码短信模板编码 + SMS_465391221: + # 注册账号短信模板编码 + SMS_175430166: # 在线预览文件服务器地址配置 file-view-domain: http://fileview.jeecg.com # minio文件上传 diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml index 4a6ecd07c..4047bc9d1 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-docker.yml @@ -109,7 +109,7 @@ spring: static-locations: classpath:/static/,classpath:/public/ autoconfigure: exclude: - - com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure + - com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure - org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration datasource: druid: @@ -141,7 +141,7 @@ spring: poolPreparedStatements: true maxPoolPreparedStatementPerConnectionSize: 20 # 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙 - filters: stat,wall,slf4j + filters: stat,slf4j # 允许SELECT语句的WHERE子句是一个永真条件 wall: selectWhereAlwayTrueCheck: false @@ -290,6 +290,7 @@ cas: #Mybatis输出sql日志 logging: level: + org.springframework.context.support.PostProcessorRegistrationDelegate: error org.flywaydb: debug org.jeecg.modules.system.mapper: info #swagger diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml index e4a93ff77..a9db3d8e0 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/main/resources/application-kingbase8.yml @@ -35,17 +35,22 @@ spring: max-file-size: 10MB max-request-size: 10MB mail: + # 定时任务发送邮件 + timeJobSend: false host: smtp.163.com username: jeecgos@163.com password: ?? properties: + mail.smtp.timeout: 10000 # 连接超时(毫秒) + mail.smtp.connectiontimeout: 10000 # 连接超时(毫秒) + mail.smtp.writetimeout: 10000 # 写入超时(毫秒) mail.smtp.auth: true smtp.ssl.enable: true ## quartz定时任务,采用数据库方式 quartz: job-store-type: jdbc jdbc: - initialize-schema: never + initialize-schema: embedded #定时任务启动开关,true-开 false-关 auto-startup: true #延迟1秒启动定时任务 @@ -181,7 +186,7 @@ jeecg: enabled: true model: deepseek-chat apiKey: ?? - apiHost: https://api.deepseek.com + apiHost: https://api.deepseek.com/v1 timeout: 60 # AIRag向量库 ai-rag: @@ -221,6 +226,18 @@ jeecg: secretKey: ?? endpoint: oss-cn-beijing.aliyuncs.com bucketName: jeecgdev + # 短信模板 + sms-template: + # 签名 + signature: + # 模板code + templateCode: + # 登录短信、忘记密码模板编码 + SMS_175435174: + # 修改密码短信模板编码 + SMS_465391221: + # 注册账号短信模板编码 + SMS_175430166: # 在线预览文件服务器地址配置 file-view-domain: http://fileview.jeecg.com # minio文件上传