|
@@ -1,9 +1,9 @@
|
|
|
spring:
|
|
|
data:
|
|
|
redis:
|
|
|
- host: 192.168.241.130
|
|
|
+ host: 127.0.0.1
|
|
|
port: 6379
|
|
|
- password: xudm5200
|
|
|
+ password: hbcoin123
|
|
|
database: 6
|
|
|
lettuce:
|
|
|
pool:
|
|
@@ -17,9 +17,9 @@ spring:
|
|
|
min-idle: 2
|
|
|
datasource:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
- url: jdbc:mysql://192.168.241.130:3306/continew?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
- username: continew
|
|
|
- password: continew123456
|
|
|
+ url: jdbc:mysql://127.0.0.1:3306/tg-game?useUnicode=true&characterEncoding=utf-8&useSSL=false
|
|
|
+ username: tg-game
|
|
|
+ password: tg-game123456
|
|
|
hikari:
|
|
|
# 最大连接数量(默认 10,根据实际环境调整)
|
|
|
# 注意:当连接达到上限,并且没有空闲连接可用时,获取连接将在超时前阻塞最多 connectionTimeout 毫秒
|
|
@@ -38,10 +38,10 @@ spring:
|
|
|
initialization-fail-timeout: 60000
|
|
|
rabbitmq:
|
|
|
virtual-host: /
|
|
|
- host: 192.168.241.130
|
|
|
+ host: 127.0.0.1
|
|
|
port: 5672
|
|
|
- username: guest
|
|
|
- password: guest
|
|
|
+ username: admin
|
|
|
+ password: admin123
|
|
|
listener:
|
|
|
simple:
|
|
|
acknowledge-mode: manual
|
|
@@ -72,6 +72,9 @@ mybatis-plus:
|
|
|
# MyBatis 自动映射策略
|
|
|
# NONE:不启用 PARTIAL:只对非嵌套 resultMap 自动映射 FULL:对所有 resultMap 自动映射
|
|
|
auto-mapping-behavior: PARTIAL
|
|
|
+ # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
+ # 开启驼峰命名转换
|
|
|
+ map-underscore-to-camel-case: true
|
|
|
## 全局配置
|
|
|
global-config:
|
|
|
banner: true
|
|
@@ -99,7 +102,7 @@ cosid:
|
|
|
enabled: true
|
|
|
snowflake:
|
|
|
enabled: true
|
|
|
- zone-id: Asia/Shanghai
|
|
|
+ zone-id: Etc/UTC
|
|
|
epoch: 1577203200000
|
|
|
share:
|
|
|
# 开启时钟回拨同步
|