随笔分类 - yml配置
摘要:spring: # 数据源配置 datasource: type: com.alibaba.druid.pool.DruidDataSource driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://127.0.0.1:3306/
阅读全文
摘要:#实现热部署的配置devtools: restart: enabled: true #设置重启的目录 additional-paths: src/main/java #防止项目重新编译后启动报404的问题 poll-interval: 3000 quiet-period: 1000cache: eh
阅读全文
摘要:# 开启Knife4j增强模式knife4j: enable: true
阅读全文
摘要:logging: level: com: example: spring_mybatis: trace
阅读全文
摘要:server: port: 8080mybatis: # #标注mybatis配置文件的位置 # config-location: classpath:mybatis-config.xml #标注待解析的mapper的xml文件位置 mapper-locations: classpath:mappe
阅读全文