This commit is contained in:
77
2024-05-20 14:38:44 +08:00
parent 6970319697
commit 2dec18474e
22 changed files with 485 additions and 42 deletions

View File

@@ -74,7 +74,7 @@
</dependencies>
<build>
<finalName>${project.artifactId}</finalName>
<finalName>dk-sass</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>

View File

@@ -1,6 +1,3 @@
xxl.job:
# 执行器开关
enabled: false
--- # 数据源配置
spring:
datasource:
@@ -62,28 +59,6 @@ spring:
timeout: 15s
# 是否开启ssl
ssl: false
redisson:
# redis key前缀
keyPrefix:
# 线程池数量
threads: 4
# Netty线程池数量
nettyThreads: 8
# 单节点配置
singleServerConfig:
# 客户端名称
clientName: ${ruoyi.name}
# 最小空闲连接数
connectionMinimumIdleSize: 8
# 连接池大小
connectionPoolSize: 32
# 连接空闲超时,单位:毫秒
idleConnectionTimeout: 10000
# 命令等待超时,单位:毫秒
timeout: 3000
# 发布和订阅连接池大小
subscriptionConnectionPoolSize: 50
--- # mail 邮件发送
mail:
enabled: false

View File

@@ -1,8 +1,5 @@
# 临时文件存储位置 避免临时文件被系统清理报错
spring.servlet.multipart.location: /ruoyi/server/temp
xxl.job:
# 执行器开关
enabled: false
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
@@ -63,12 +60,6 @@ spring:
timeout: 10s
# 是否开启ssl
ssl: false
rabbitmq:
addresses: 127.0.0.1 #ip地址
username: admin # 账号
password: 383200134 # 密码
port: 5672
virtual-host: /cai
redisson:
# redis key前缀
keyPrefix:

View File

@@ -118,7 +118,7 @@ sa-token:
# token前缀
token-prefix: "Bearer"
# jwt秘钥
jwt-secret-key: abcdefghijklmnopqrstuvwxyz
jwt-secret-key: abcdefghijklmnopjscshajkwk
# security配置
security:
@@ -235,6 +235,30 @@ lock4j:
management:
endpoints:
enabled-by-default: false
xxl.job:
# 执行器开关
enabled: false
redisson:
# redis key前缀
keyPrefix:
# 线程池数量
threads: 4
# Netty线程池数量
nettyThreads: 8
# 单节点配置
singleServerConfig:
# 客户端名称
clientName: ${ruoyi.name}
# 最小空闲连接数
connectionMinimumIdleSize: 8
# 连接池大小
connectionPoolSize: 32
# 连接空闲超时,单位:毫秒
idleConnectionTimeout: 10000
# 命令等待超时,单位:毫秒
timeout: 3000
# 发布和订阅连接池大小
subscriptionConnectionPoolSize: 50
ali:
oss:
enable: false