mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-18 17:38:48 +08:00
feat: 修改名称、配置信息
This commit is contained in:
parent
058ee9c7a6
commit
441161b6f2
@ -17,7 +17,7 @@ public class DromaraApplication {
|
|||||||
SpringApplication application = new SpringApplication(DromaraApplication.class);
|
SpringApplication application = new SpringApplication(DromaraApplication.class);
|
||||||
application.setApplicationStartup(new BufferingApplicationStartup(2048));
|
application.setApplicationStartup(new BufferingApplicationStartup(2048));
|
||||||
application.run(args);
|
application.run(args);
|
||||||
System.out.println("(♥◠‿◠)ノ゙ RuoYi-Vue-Plus启动成功 ლ(´ڡ`ლ)゙");
|
System.out.println("(♥◠‿◠)ノ゙ 万象软件启动成功 ლ(´ڡ`ლ)゙");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -104,7 +104,7 @@ public class AuthController {
|
|||||||
Long userId = LoginHelper.getUserId();
|
Long userId = LoginHelper.getUserId();
|
||||||
scheduledExecutorService.schedule(() -> {
|
scheduledExecutorService.schedule(() -> {
|
||||||
SseMessageDto dto = new SseMessageDto();
|
SseMessageDto dto = new SseMessageDto();
|
||||||
dto.setMessage("欢迎登录RuoYi-Vue-Plus后台管理系统");
|
dto.setMessage("欢迎登录万象后台管理系统");
|
||||||
dto.setUserIds(List.of(userId));
|
dto.setUserIds(List.of(userId));
|
||||||
SseMessageUtils.publishMessage(dto);
|
SseMessageUtils.publishMessage(dto);
|
||||||
}, 5, TimeUnit.SECONDS);
|
}, 5, TimeUnit.SECONDS);
|
||||||
|
|||||||
@ -49,9 +49,9 @@ spring:
|
|||||||
driverClassName: com.mysql.cj.jdbc.Driver
|
driverClassName: com.mysql.cj.jdbc.Driver
|
||||||
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
# jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562
|
||||||
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
# rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题)
|
||||||
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
url: jdbc:mysql://39.96.5.135:3306/omnix-dev?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
|
||||||
username: root
|
username: root
|
||||||
password: root
|
password: fitz.2023
|
||||||
# # 从库数据源
|
# # 从库数据源
|
||||||
# slave:
|
# slave:
|
||||||
# lazy: true
|
# lazy: true
|
||||||
@ -98,40 +98,40 @@ spring:
|
|||||||
spring.data:
|
spring.data:
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: localhost
|
host: 39.96.5.135
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 6379
|
port: 6379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
database: 0
|
database: 0
|
||||||
# redis 密码必须配置
|
# redis 密码必须配置
|
||||||
password: ruoyi123
|
password: redis.2023
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
# 是否开启ssl
|
# 是否开启ssl
|
||||||
ssl.enabled: false
|
ssl.enabled: false
|
||||||
|
|
||||||
# redisson 配置
|
# redisson 配置
|
||||||
redisson:
|
#redisson:
|
||||||
# redis key前缀
|
# # redis key前缀
|
||||||
keyPrefix:
|
# keyPrefix:
|
||||||
# 线程池数量
|
# # 线程池数量
|
||||||
threads: 4
|
# threads: 4
|
||||||
# Netty线程池数量
|
# # Netty线程池数量
|
||||||
nettyThreads: 8
|
# nettyThreads: 8
|
||||||
# 单节点配置
|
# # 单节点配置
|
||||||
singleServerConfig:
|
# singleServerConfig:
|
||||||
# 客户端名称 不能用中文
|
# # 客户端名称 不能用中文
|
||||||
clientName: RuoYi-Vue-Plus
|
# clientName: omnix
|
||||||
# 最小空闲连接数
|
# # 最小空闲连接数
|
||||||
connectionMinimumIdleSize: 8
|
# connectionMinimumIdleSize: 8
|
||||||
# 连接池大小
|
# # 连接池大小
|
||||||
connectionPoolSize: 32
|
# connectionPoolSize: 32
|
||||||
# 连接空闲超时,单位:毫秒
|
# # 连接空闲超时,单位:毫秒
|
||||||
idleConnectionTimeout: 10000
|
# idleConnectionTimeout: 10000
|
||||||
# 命令等待超时,单位:毫秒
|
# # 命令等待超时,单位:毫秒
|
||||||
timeout: 3000
|
# timeout: 3000
|
||||||
# 发布和订阅连接池大小
|
# # 发布和订阅连接池大小
|
||||||
subscriptionConnectionPoolSize: 50
|
# subscriptionConnectionPoolSize: 50
|
||||||
|
|
||||||
--- # mail 邮件发送
|
--- # mail 邮件发送
|
||||||
mail:
|
mail:
|
||||||
|
|||||||
@ -52,7 +52,7 @@ user:
|
|||||||
# Spring配置
|
# Spring配置
|
||||||
spring:
|
spring:
|
||||||
application:
|
application:
|
||||||
name: RuoYi-Vue-Plus
|
name: 万象软件
|
||||||
threads:
|
threads:
|
||||||
# 开启虚拟线程 仅jdk21可用
|
# 开启虚拟线程 仅jdk21可用
|
||||||
virtual:
|
virtual:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user