摘要:
spring boot 默认使用日志打印到console 添加application.properties文件在src/main/resoures文件夹下 logging.file=my.log 将日志写在文件中 详细使用方法: 参考 application properties 官方配置文件示例 阅读全文
摘要:
springboot 配置swagger ui 1. 添加依赖 2. 启动swagger ui注解 3.添加 controller注解 4. swagger ui 链接: localhost:8080//swagger-ui.html (默认) 参考这里 阅读全文