1简单的相关yml配置 数据库
server:
port: 9090
spring:
application:
name: xiaoxiao
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/1111?useUnicode=true&characterEncoding=utf8
username: root
password: 1111111
type: com.alibaba.druid.pool.DruidDataSource
# 最小空闲 最大活跃 最大等待时间
druid:
min-idle: 5
max-active: 10
max-wait: 3000
# 前缀 后缀
thymeleaf:
prefix: classpath:/templates/water/
suffix: .html
# 驼峰命名
mybatis-plus:
configuration:
map-underscore-to-camel-case: true
# 日志
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
# 全局主键自增
global-config:
db-config:
id-type: auto
#分页插件使用的语言
pagehelper:
helper-dialect: mysql
第二个
。。。。。。。。。。。。。。。。。。。。。。。。