server:
port: 8080
spring:
datasource:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
thymeleaf:
cache: false
#切换配置
profiles:
active: dev
mybatis-plus:
mapper-locations: classpath:/mapper/*.xml
type-aliases-package: com.db.DataBaseClient.common.core.domain.entity
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: true
---
#生产环境
server:
port: 8083
spring:
config:
activate:
on-profile: prod