1.默认的访问地址 http://localhost:端口/swagger-ui.html; 2.如果配置文件中:context-path:/目录 http://localhost:端口/目录/swagger-ui.html