Skip to content

Commit e61878a

Browse files
committed
feat: 打开p6spy
1 parent ae51f15 commit e61878a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

application/src/main/resources/application-dev.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ spring:
1212
primary: master
1313
datasource:
1414
master:
15-
url: jdbc:mysql://localhost:3306/demo?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
15+
url: jdbc:p6spy:mysql://localhost:3306/demo?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
1616
username: root
1717
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
18-
driver-class-name: com.mysql.cj.jdbc.Driver
18+
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
1919
slave1:
20-
url: jdbc:mysql://localhost:3306/demo_cluster?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
20+
url: jdbc:p6spy:mysql://localhost:3306/demo_cluster?useSSL=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
2121
username: root
2222
password: ENC(donQ3DazAc4/6B+NFSRdxw==)
23-
driver-class-name: com.mysql.cj.jdbc.Driver
23+
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
2424

2525
# 关闭swagger认证
2626
knife4j:
@@ -47,7 +47,7 @@ uni-boot:
4747
demo: top.cadecode.uniboot.demo.controller
4848
# security 配置
4949
security:
50-
auth-model: jwt
50+
auth-model: redis
5151
token:
5252
header: token
5353
expiration: 86400

0 commit comments

Comments
 (0)