夏日掠影 2022-02-25 10:45 采纳率: 0%
浏览 41

请问 使用swagger2,为什么使用 127.0.0.1和localhostUI不同

问题遇到的现象和发生背景

使用swagger2---2.9.2版本,为什么使用 127.0.0.1和localhostUI不同

<dependency>
    <groupId>io.springfox</groupId>
    <artifactId>springfox-swagger-ui</artifactId>
    <version>2.9.2</version>
</dependency>

http://127.0.0.1:8081/swagger-ui.html

img

http://localhost:8081/swagger-ui.html

img

  • 写回答

3条回答 默认 最新

  • 大鹏cool 优质创作者: Java技术领域 2022-02-25 10:49
    关注

    URL 后面的参数不一样

    评论

报告相同问题?

问题事件

  • 创建了问题 2月25日