sql记录
This commit is contained in:
5
pom.xml
5
pom.xml
@@ -25,6 +25,11 @@
|
|||||||
<artifactId >pinyin4j</artifactId>
|
<artifactId >pinyin4j</artifactId>
|
||||||
<version >2.5.1</version >
|
<version >2.5.1</version >
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.github.gavlyukovskiy</groupId>
|
||||||
|
<artifactId>p6spy-spring-boot-starter</artifactId>
|
||||||
|
<version>1.7.1</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_test?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
url: jdbc:p6spy:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/fycashier_test?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false&allowMultiQueries=true
|
||||||
username: cashier
|
username: cashier
|
||||||
password: Cashier@1@
|
password: Cashier@1@
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
# driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
|
||||||
initialSize: 5
|
initialSize: 5
|
||||||
minIdle: 5
|
minIdle: 5
|
||||||
maxActive: 20
|
maxActive: 20
|
||||||
maxWait: 60000
|
maxWait: 60000
|
||||||
logging:
|
hikari:
|
||||||
level:
|
minimum-idle: 5
|
||||||
com.chaozhanggui.system.openness: info
|
maximum-pool-size: 15
|
||||||
|
idle-timeout: 30000
|
||||||
|
max-lifetime: 1800000
|
||||||
|
connection-timeout: 30000
|
||||||
redis:
|
redis:
|
||||||
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
# redis数据库索引(默认为0),我们使用索引为3的数据库,避免和其他数据库冲突
|
||||||
database: 0
|
database: 0
|
||||||
|
|||||||
@@ -24,7 +24,12 @@ wx:
|
|||||||
appId: wx212769170d2c6b2a
|
appId: wx212769170d2c6b2a
|
||||||
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
secrete: 8492a7e8d55bbb1b57f5c8276ea1add0
|
||||||
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
warnMsgTmpId: C08OUr80x6wGmUN1zpFhSQ3Sv7VF5vksdZigiEx2pD0
|
||||||
|
decorator:
|
||||||
|
datasource:
|
||||||
|
p6spy:
|
||||||
|
logging: file
|
||||||
|
log-file: spy.log
|
||||||
|
log-format: executionTime:%(executionTime) ms | sql:%(sqlSingleLine)
|
||||||
#
|
#
|
||||||
spring:
|
spring:
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
Reference in New Issue
Block a user