some demos of springboot
IDEA 设置 import 导入单独的java,不用import * setting - Editor - Code Style - Java 然后找到 Class Count to use import with '' ,把这个的值调大到50 下面的Names count to use static import with '', 那个也调大到30
IDEA自动删除不需要的import语句
配置方式:
配置路径依次是:Settings --> Editor --> General --> Auto Import --> Java
--> 勾选Optimize imports on the fly(for current project) --> 保存
knife4j 访问地址:http://localhost:8080/doc.html Swagger2.0访问地址:http://localhost:8080/swagger-ui.html Swagger3.0访问地址:http://localhost:8080/swagger-ui/index.html