2024-03-22 19:22:45 +08:00
|
|
|
server:
|
|
|
|
port: 8501
|
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
name: service-spzx
|
|
|
|
profiles:
|
|
|
|
active: dev
|
|
|
|
main:
|
|
|
|
allow-bean-definition-overriding: true
|
|
|
|
|
|
|
|
datasource:
|
|
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
|
username: ${bunny.datasource.username}
|
|
|
|
password: "${bunny.datasource.password}"
|
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
host: ${bunny.redis.host}
|
|
|
|
port: ${bunny.redis.port}
|
|
|
|
database: ${bunny.redis.database}
|
|
|
|
|
|
|
|
logging:
|
|
|
|
level:
|
|
|
|
com.atguigu.mapper: debug
|
|
|
|
com.atguigu.controller: info
|
|
|
|
com.atguigu.service: info
|
|
|
|
pattern:
|
|
|
|
dateformat: HH:mm:ss:SSS
|
|
|
|
file:
|
|
|
|
path: " logs/${spring.application.name}"
|
|
|
|
|
|
|
|
mybatis:
|
|
|
|
type-aliases-package: com.atguigu.spzx.model
|
|
|
|
mapper-locations: classpath:mapper/*.xml
|
2024-03-23 14:35:11 +08:00
|
|
|
# config-location: classpath:mybatis-config.xml
|
|
|
|
configuration:
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
auto-mapping-behavior: full
|