创建springBoot文件的 application.yml的配置在编写application时一定要注意缩进~~~~
#server设置
server:
port: 8080
#spring 资源整合
spring:
datasource:
url: jdbc:mysql:///dbsys?serverTimezone=GMT%2B8&characterEncoding=utf8
username: root
password: root
thymeleaf:
cache: false
prefix: classpath:/templates/pages/
suffix: .html
#mybatis
mybatis:
mapper-locations:
- classpath:/mapper/*/*.xml
#lOG
logging:
level:
com.cy: debug
springBoot所需要的依赖
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。