File tree Expand file tree Collapse file tree
application/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff 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认证
2626knife4j :
@@ -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
You can’t perform that action at this time.
0 commit comments