2024-03-27 10:44:23 +08:00
|
|
|
server:
|
|
|
|
port: 8511
|
|
|
|
spring:
|
|
|
|
profiles:
|
|
|
|
active: dev
|
|
|
|
application:
|
|
|
|
name: service-product
|
|
|
|
|
|
|
|
cloud:
|
|
|
|
nacos:
|
2024-03-27 13:01:31 +08:00
|
|
|
server-addr: ${bunny.nacos.server-addr}
|
2024-03-27 10:44:23 +08:00
|
|
|
|
|
|
|
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}"
|
|
|
|
|
2024-03-27 13:14:26 +08:00
|
|
|
logging:
|
|
|
|
level:
|
|
|
|
com.atguigu.product.mapper: debug
|
|
|
|
com.atguigu.product.controller: info
|
|
|
|
com.atguigu.product.service: info
|
|
|
|
pattern:
|
|
|
|
dateformat: HH:mm:ss:SSS
|
|
|
|
file:
|
|
|
|
path: "logs/${spring.application.name}"
|
|
|
|
|
2024-03-27 10:44:23 +08:00
|
|
|
mybatis:
|
2024-03-27 13:14:26 +08:00
|
|
|
type-aliases-package: com.atguigu.spzx.model
|
|
|
|
mapper-locations: classpath:/mapper/*/*.xml
|
|
|
|
configuration:
|
|
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
map-underscore-to-camel-case: true
|
|
|
|
auto-mapping-behavior: full
|