开发环境打印sql
This commit is contained in:
@@ -3,6 +3,11 @@ spring:
|
||||
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
|
||||
password: Cashier@1@
|
||||
# url: jdbc:mysql://rm-bp1b572nblln4jho2.mysql.rds.aliyuncs.com/fycashier?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useJDBCCompliantTimezoneShift=true&serverTimezone=Asia/Shanghai&useSSL=false
|
||||
# username: root
|
||||
# password: Czg666888
|
||||
# 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
|
||||
@@ -42,11 +47,10 @@ spring:
|
||||
username: admin
|
||||
password: Czg666888
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
#mybatis:
|
||||
# configuration:
|
||||
# map-underscore-to-camel-case: true
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
ysk:
|
||||
url: https://gatewaytestapi.sxczgkj.cn/gate-service/
|
||||
callBackurl: https://p40312246f.goho.co/cashierService/notify/notifyCallBack
|
||||
|
||||
@@ -40,11 +40,11 @@ spring:
|
||||
username: admin
|
||||
password: Czg666888
|
||||
|
||||
mybatis:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: true
|
||||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
#mybatis:
|
||||
# configuration:
|
||||
# map-underscore-to-camel-case: true
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
# mapper-locations: classpath:mapper/*.xml
|
||||
ysk:
|
||||
url: https://gateway.api.sxczgkj.cn/gate-service/
|
||||
callBackurl: https://cashier.sxczgkj.cn/cashierService/notify/notifyCallBack
|
||||
|
||||
@@ -64,10 +64,11 @@ pagehelper:
|
||||
params: count=countSql
|
||||
logging:
|
||||
level:
|
||||
org.springframework.web.filter.CommonsRequestLoggingFilter: debug
|
||||
com.chaozhanggui.system.cashierservice.mapper: debug
|
||||
com.chaozhanggui.system.cashierservice.dao: debug
|
||||
# web日志
|
||||
org.springframework.web: debug
|
||||
# mybatis日志
|
||||
org.apache.ibatis: debug
|
||||
# org.springframework.web: debug
|
||||
charset:
|
||||
# 输出控制台编码
|
||||
console: UTF-8
|
||||
@@ -101,3 +102,10 @@ aliyun:
|
||||
thirdPay:
|
||||
payType: fushangtong
|
||||
url: https://paymentapi.sxczgkj.cn
|
||||
|
||||
|
||||
mybatis-plus:
|
||||
global-config:
|
||||
db-config:
|
||||
id-type: auto
|
||||
mapper-locations: classpath:mapper/*.xml
|
||||
|
||||
Reference in New Issue
Block a user